6.8. 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. Highlight a range of source lines in the selected source code tab, or lines of disassembly in the Disassembly tab.

    Note

    Take care when highlighting lines of code. Selecting multiple functions might result in unexpected behavior, depending on where in memory these functions are placed. That is, functions might not follow each other in memory, so you might end up tracing a lot more besides the functions you have selected.

  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.

    Note

    This option is available only for ETM-based targets.

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 also:

Copyright © 2006-2011 ARM. All rights reserved.ARM DUI 0322G
Non-ConfidentialID052111