10.4.2. Procedure

To capture new trace when execution stops at another location:

  1. Doubl-click in the margin at line 80 to set a breakpoint. Figure 10.9 shows an example.

    Figure 10.9. Simple breakpoint set to force display of captured trace

    Simple breakpoint set to force display of captured trace

    RealView Debugger generates a BREAKINSTRUCTION CLI command, which is also displayed in the Cmd tab of the Output view:

    breakinstruction,failover \TRACE\#80:0

    Note

    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.

  2. 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.

    Figure 10.10. Captured trace shown in the Analysis window

    Captured trace shown in the Analysis window

    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
    

See also

Copyright © 2006-2009 ARM Limited. All rights reserved.ARM DUI 0322D
Non-Confidential