Runtime Tracing for C, C++ and Java
Runtime Tracing can be configured for use in a multi-threaded environment such as Posix, Solaris and Windows.
Multi-thread mode protects Target Deployment Port global variables against concurrent access. This causes a significant increase in Target Deployment Port size as well as an impact on performance. Therefore, select this option only when necessary.
These settings are ignored if you are not using a multi-threaded environment. To change these settings, use the Build Settings > Target Deployment Port build dialog box.
Maximum number of threads: This value sets the size of the thread management table inside the Target Deployment Port. Lower values save memory on the target platform. Higher values allow more simultaneous threads.
Record and display thread info: When selected, the UML Sequence Diagram displays a note each time a new thread is created and each time a thread's schedule is changed.
To access the multi-thread build settings:
In the Project Explorer, click the Open Settings... button.
Select one or several nodes in the Configuration pane.
Select Build > Target Deployment Port build.
Set the Multi-threaded application and Maximum number of threads settings.
Select Runtime Analysis > Runtime Tracing > Runtime options.
Set Record and display thread info to Yes or No.
When you have finished, click OK to validate the changes.
Related Topics
Runtime Tracing Control Settings | Build settings | About Configuration Settings