Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

What do I do if C/C++test runs out of memory?

You cancustomize can customize the amount of allocated memory with the CPPTESTthe 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?.

How can I work with C/C++test via proxy?

Typically, if you connect through a proxy server, you need to configure the connection by passing protocol-specific system properties to the JVM – using the -D command line option.

To work with C/C++test, ensure that the system properties for the HTTPS protocol are configured. At a minimum, you must configure https.proxySet=true, https.proxyHost=[hostname], and https.proxyPort=[port number]. If your proxy server requires authentication, you can configure your credentials with the https.proxyUser and https.proxyPassword properties.

Your command line may resemble the following:

Code Block
languagetext
java -Dhttps.proxySet=true -Dhttps.proxyHost=myserver.example.com -Dhttps.proxyPort=8080 -Dhttps.proxyUser=user1 -Dhttps.proxyPassword=MyPassword

In addition, you can configure the https.nonProxyHosts property to specify hosts where connection via proxy is not required.

The proxy mode is not supported for Visual Studio.

(info) If you use C/C++test on desktop with Eclipse, the proxy settings are automatically detected and do not need to be configured in the command line

If I’m having problems, what information should I send to the  C/C++test support team?

...

  • Configure IntelliSense to stop reporting potential syntax errors. Note that this will globally disable error recognitionin test suites and in all other files.
  • Wrap the code in your test suite (s) with the following directives:

    Code Block
    #ifndef __INTELLISENSE__
    //this code block will not be analyzed by IntelliSense
    #endif

Scroll Pagebreak