A breakpoint sequence is a list of breakpoints that execute, but do not
halt, until the last breakpoint is executed. Sequenced breakpoints can be useful when
there is more than one execution path leading to a certain instruction and you only want
to exercise one specific path.
To create a Breakpoint Sequence, complete the following
steps:
- 1.Right click on an existing breakpoint or shift click to select a
group of existing breakpoints and right click on the group.
- 2.From the pop-up menu, go to “Complex Breakpoint” and select “Add a
New Sequence.”
- 3.Enter a name for your sequence in the dialog box and click OK.
- 4.The breakpoint(s) will appear under the new sequence.
- 5.To add additional existing breakpoints to the sequence, right click
on the breakpoint and select Complex Breakpoint>Add to Name, where
Name is the name of the sequence.
- 6.To add new breakpoints to the sequence, right click on the sequence
and select “New Breakpoint.”
To select the Sequence Order, complete the following steps:
- 1.Expand on a sequence to see all items.
- 2.Right click on an item and select Complex Breakpoints>Move
Up or Complex Breakpoints>Move Down. Sequence execution of
breakpoints is bottom-up; the last breakpoint in the sequence occurs first.
To Remove a Sequence or Breakpoint, either:
- Right click on the item and select “Disable” to temporarily remove the item.
- Right click on the item and select “Delete” to permanently remove the item.
Figure 1. Breakpoint Sequence Example