Enable runtime analysis tools
When the source code is run with any of the runtime analysis tools enabled, either alone or in a component test, the source code is instrumented and the results are displayed in a report.
Before you begin
Procedure
To enable runtime analysis tools on your source code:
- In the project explorer, right-click the project on which you want to enable the runtime analysis tools and click Properties.
- Click Build TDP page to check that the correct TDP is selected.
and select the If necessary, click the Target Deployment Port value to change the TDP.
- Select the Build Instrument page and select .
- Select the Build Options line and click Edit.
-
In the Build Options window, select the runtime analysis tools that
you want to enable.
- Memory Profiling detects memory leaks and allocation problems.
- Performance Profiling locates performance issues and bottlenecks.
- Code Coverage provides coverage information of the source code as it is run.
- Runtime Tracing displays a dynamic UML sequence diagram of the run.
- Static Metrics evaluates the complexity of the source code.
- Code Review assesses compliance to coding rules.
- Debug enables the workbench debug mode.
- Click OK, Apply the changes and close the Properties window.
- Click .If the project is successfully built, in the project explorer, the Binaries folder contains the compiled binary executable for the project. If the project did not build successfully, see the Troubleshooting section for help on resolving compilation issues.