Correctness Checking

Intel® Trace Collector provides the correctness checking functionality that addresses the following tasks:

While doing correctness checking, you should distinguish between error detection that is done automatically by tools, and error analysis that is done by the user to determine the root cause of an error and eventually fix it.

The error detection in Intel Trace Collector is implemented in the libVTmc library, which performs error detection at runtime. To address both of the above scenarios, Intel Trace Collector supports recording of error reports for later analysis, and interactive debugging at runtime.

The correctness checker prints errors to stderr as soon as they are found. You can perform interactive debugging with the help of a traditional debugger: if the application is already running under debugger control, the debugger can stop a process when an error is found. You should manually set a breakpoint in the function MessageCheckingBreakpoint(). This function and debug information about it are contained in the Intel Trace Collector library. Therefore, you can set the breakpoint and inspect the parameters of the function after a process is stopped. The parameters indicate what error occurred.

See Also