10.2.4. Setting a breakpoint with the Simple Break if X dialog box

To set a breakpoint with the Simple Break if X dialog box:

  1. Right-click on the margin, an instruction, or a line of source code in the File Editor pane to display the context menu.

  2. Select Set BreakIf... from the context menu.

    A List Selection dialog box is displayed.

  3. Select Break if X... from the List Selection dialog box.

  4. Click OK.

    The Simple Break if X dialog box is displayed (see Figure 10.3).

    Figure 10.3. Simple Break if X dialog box

    Simple Break if X dialog box

    The address expression where you performed the right-click is inserted.

    For example, if you right-clicked on the Proc_1 function call, then Proc_1 is inserted as the address expression. You can change this if required.

  5. Select the breakpoint type for this breakpoint. The options are:

    • SW Instr

    • HW Instr

    • HW Access

    • HW Read

    • HW Write.

  6. Enter the address expression for the breakpoint, or leave the expression to that specified if required.

    This can be:

    Alternatively, click the expression selector button, to select from:

    • various lists, including your Favorites List

    • expressions used in previous breakpoints during this session.

  7. Click OK to set the breakpoint and close the dialog box.

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0153H
Non-Confidential