Diagnostics and Logging
|Top Previous Next|
To send your logs for analysis and support, turn logging on.
In the Isolator++ Professional installation folder, run Configuration.exe. (See Setting a license)
Check "Enable Logging" and select the logs path.
You can set logging from the command line as well, using the following flags:
Note: Default for --log_enable is 0. Setting --log_path <path> automatically sets --log_enable to 1.
In the directory /usr/share/typemock run the IsolatorConfigurator the following console flags:
Note: Default for --log_enable is 0. Default for --log_path is set to /var/log/typemock.
The following diagnostics are only for Windows:
Isolator++ Professional emits diagnostic information by default, in addition to regular test output. To suppress these messages, before running the tests, set an environment variable:
To return to normal, either delete the variable, or set the variable to 0:
Isolator++ Professional will help you debug your tests by printing the stack trace when your tests fail.
This will slow the tests a bit but will give you complete stack traces.
To log more stack information, add the following line in your test (can be toggled on and off):
Typemock::LogWithStack = true;
Copyright Typemock Ltd. 2009-2020. All Rights Reserved.