When an action breakpoint triggers, the debugger suspends execution and
then executes a specified list of commands.
The following procedure sets an action breakpoint:
1. Display the source or instruction line on which you want to set the
action breakpoint.
2. Display the Set/Modify Breakpoint dialog box in one of the
following ways:
- Press Ctrl/MB1 on the button to the left of a source line, an
instruction line, or a breakpoint entry in the breakpoint view.
This causes the Set/Modify Breakpoint dialog box to display,
showing the source line you selected in the Location: field.
- Choose the Set (main window) or Set/Modify (optional view
window) menu item from the Break menu. When the Set/Modify
dialog box appears, enter the source line in the Location:
field.
3. Enter one or more debugger commands in the Action: field of the
dialog box. For example:
DEPOSIT x[j] = 3; STEP; EXAMINE a
4. Click on OK. The action breakpoint is now set.
The following procedure modifies an action breakpoint; that is, it can
be used to change the command associated with an existing action
breakpoint, or to change an unqualified breakpoint into an action
breakpoint:
1. Do one of the following:
- Press Ctrl/MB1 on the button to the left of a source line, an
instruction code line, or a breakpoint entry in the breakpoint
view.
- Click on a breakpoint entry in the breakpoint view, and choose
the Set/Modify item from the Break Menu.
2. Follow steps 3 and 4 of the previous procedure, as appropriate.