| |||
| Home > Tracing Tutorial > Running to a second breakpoint > Procedure | |||
To capture new trace when execution stops at another location:
Double-click in the margin at line 80 to set a breakpoint. Figure 10.9 shows an example:
RealView Debugger generates a BREAKINSTRUCTION CLI command, which is also displayed in the Cmd tab of the Output view:
breakinstruction,failover \TRACE\#80:0
The number at the end of the command is a character position, and depends on the position of the cursor when you double-clicked in the margin.
Click Run on
the Debug toolbar to restart execution. The image runs until the
breakpoint is activated. The captured trace is displayed in the Trace tab
of the Analysis window. Figure 10.10 shows an example:
Messages similar to the following are also displayed in the Cmd tab of the Output view:
Stopped at 0x00008278 due to SW Instruction Breakpoint Stopped at 0x00008278: TRACE\main Line 80:8
the following in the RealView Debugger User Guide:
the following in the RealView Debugger Command Line Reference Guide:
Chapter 2 RealView Debugger Commands for details of the BREAKINSTRUCTION command.