| |||
| Home > Configuring the Conditions for Trace Capture > Setting tracepoints | |||
To set unconditional or conditional tracepoints:
Ensure that you are connected to your target, and that the trace analyzer is connected.
Ensure that your image is loaded into RealView Debugger.
Determine the area of interest within your application for which you want to collect trace information. Depending on the area of interest, you must give focus to your application within one of the following RealView Debugger Code window views:
Select the required source file tab if you want to set tracepoints for specific lines of code in your source files.
Select the Disassembly tab if you want to set tracepoints at specific addresses or address ranges in your image.
Choose from the following types of trace-capture setting types available, depending on the complexity of the criteria you want to specify for the capture:
For setting trigger points, trace start and end points, or trace ranges for memory and data accesses.
For setting AND or OR conditions, counter conditions, and complex comparisons. These conditions can involve any supported combination of trigger points and ranges.
Select Break/Tracepoints from the Code window View menu to display the Break/Tracepoints pane.
The Break/Tracepoints pane enables you to:
view tracepoint details, including the CLI command that was issued either by you or RealView Debugger to set the tracepoint
edit tracepoints
locate tracepoints in the source or disassembly view.
Now run your image to begin trace capture with the details you have set.
The availability of tracepoint options depends on the resources you have available and the type of connection you are using. If you have already used a number of resources, some of the options described in this section might not all be available to you.