2.6.3. 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:

  1. In the File Editor pane, highlight a range of source lines in the selected source code tab, or disassembly in the Dsm tab.

  2. Right-click in the gray bar to the left of the source or disassembly to display the context menu.

  3. 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).

CLI command used for setting an instruction-only trace range

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.

Copyright © 2006 ARM Limited. All rights reserved.ARM DUI 0335A
Non-Confidential