...
C/C++test plugin for Eclipse: eclipse.exe -vmargs -Xmx1400m
You canalsocustomize the amount of allocated memory with the CPPTEST_ENGINE_EXTRA_ARGS option by specifying the value of the -Xmx
setting. This may be particularly useful for when you perform static analysis or report results to DTP. See Configuring Advanced Options for details.
If C/C++test runs out of memory when generating the report, see What if C/C++test runs out of memory when generating the report?.
...
If you suspect that your problems stem from network or connection problems, you may want to try adjusting timeouts by adding the following switches to your JVMpassing these Java system properties to the Eclipse process:
Switch | Description |
---|
parasoft.ws.timeout | Sets socket timeout for all services. |
The value is in seconds |
. |
parasoft.ws.connection.timeout | Sets connection timeout for all services. |
The value is in seconds |
. |
parasoft.tcm.timeout | Sets timeout for the deprecated Team Server service. It could set timeout only for this service or override the value set by the general parasoft.ws.timeout |
. The value is in seconds. This switch is deprecated. |
Example:
C/C++test standalone:
Code Block |
---|
cpptest.exe -J-Dparasoft.ws.timeout=180 cpptest.exe -J-Dparasoft.ws.connection.timeout=15 cpptest.exe -J-Dparasoft.tcm.timeout=30 |
C/C++test plugin for Eclipse:
Code Block |
---|
eclipse.exe -vmargs -Dparasoft.ws.timeout=180 eclipse.exe -vmargs -Dparasoft.ws.connection.timeout=15 eclipse.exe -vmargs -Dparasoft.tcm.timeout=30 |
If only parasoft.ws.timeout is set, it affects both socket and connection timeout.
...
Due to a bug in some Eclipse versions, an overlay scrollbar may partially hide the last item in a list or tree, preventing the user from clicking the item. As a workaround on Linux, you can disable overlay scrollbars by setting the following system variable: GTK_OVERLAY_SCROLLING=0
What if the Parasoft Welcome Page cannot be displayed on Ubuntu Linux?
When using latest Ubuntu Linux (21.10 or newer), consider installing additional 'webkit2gtk-driver' system package with the following command:
Code Block |
---|
> sudo apt install webkit2gtk-driver |
What if the HTML content (C/C++test's rule documentation, reports etc.) cannot be displayed on Ubuntu Linux?
When using latest Ubuntu Linux (21.10 or newer), with Snap-based Firefox browser as default, the Eclipse IDE may be unable to show HTML content correctly (see also: https://github.com/eclipse-platform/eclipse.platform.swt/issues/221). There are two workarounds:
- Install a non-Snap version of Firefox (or other browser) and set it as a default system browser.
- Configure Eclipse to use "external web browser" in Preferences> General> Web Browser> External web browser.
Note: In order to configure Firefox as an "external web browser", use the following settings:
Location: /usr/bin/env
Parameters: firefox %URL%
What if Eclipse reports syntax errors on code that is correct in test suites generated with C/C++test?
...
This workaround is only available for CDT-managed projects.
Scroll Pagebreak |
---|