| |||
| Home > Tracing with RealView Debugger > Setting unconditional tracepoints > Setting a trace range for selected source lines or disassembly | |||
You can set a trace range for selected lines of source or disassembly. To do this:
In the File Editor pane, highlight a range of source lines in the selected source code tab, or disassembly in the Dsm tab.
Right-click in the gray bar to the left of the source or disassembly to display the context menu.
Select Set Trace Range from the context menu.
RealView Debugger ensures the trace information is captured only
for the range you have selected. Only program instructions in the
range are captured. Any instructions executed outside the range
are not captured. These discontinuities are represented as Trace
Pause status lines in the Analysis window (see Status lines in the Trace tab).
The equivalent CLI command used is:
in the Dsm tab:
TRACE,range start_address..end_address
in a source code tab:
TRACE,range \MODULE\#start_line..\MODULE\#end_line
For more details on the TRACE command, see the RealView Developer Kit v2.2 Command Line Reference Guide.