11.16.6. Setting a breakpoint at the location of a Call Stack entry

To set a breakpoint at the location of a Call Stack entry:

  1. Select View → Call Stack from the Code window main menu to open the Call Stack view, if it is not already visible.

  2. Right-click on the Call Stack entry containing the reference where you want to set the breakpoint to display the context menu.

  3. Select one of the following options:

    Create Breakpoint At...

    This opens the Create Breakpoint dialog box. Specify the breakpoint parameters as required, and click OK to set the breakpoint. The breakpoint is set at the address defined by the chosen Call Stack entry, if this is permitted.

    Create Conditional Breakpoint At...

    This opens the New Conditional Breakpoint dialog box, shown in Figure 11.27.

    Figure 11.27. Breakpoint type selection dialog box

    Breakpoint type selection dialog box

  4. Select the required option from the breakpoint type selection dialog box. The available options depend on the target:

    • Break if X opens the Simple Break if X dialog box

    • Break if X, N Times... opens the Simple Break if X, N Times dialog box

    • Break if X, when Y is True... opens the Simple Break if X, when Y is True dialog box

    • HW Break if in Range... opens the HW Break if in Range dialog box

    • HW While in func/range, Break if X... opens the HW While in func/range, Break if X dialog box

    • HW Break if X, then if Y... opens the HW Break if X, then if Y dialog box.

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111