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 running a test with any of the runtime analysis tools enabled, ensure that the
correct Target Deployment Port (TDP) is selected.
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.
The
Properties window is displayed.
Alternatively, you can
select the project, and then click the settings icon
on the toolbar.
- Click and select the Build TDP page to check that the correct TDP is selected.
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.