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