Debugging Virtual Testers

System Testing for C

In some cases, you may want to observe how your system under test reacts when an error occurs and the consequences of this error on the whole process, without stopping the Virtual Tester.

By default, when an error occurs in a block, the execution of the block is interrupted. To prevent interruption, use the virtual tester debug mode.

You can statically activate the debug mode by compiling the generated Virtual Tester with the ATL_SYSTEMTEST_DEBUG variable, as in the following example:

cc -c -I$ATLTGT/lib/ -DATL_SYSTEMTEST_DEBUG <source.c>

where $ATLTGT is the current TDP directory.

Related Topics

About Virtual Testers | On-the-Fly Tracing