Complex Breakpoint Sequence
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 are more than one execution path leading to a certain instruction, and you only want to exercise one specific path.
To create a Breakpoint Sequence
- Right click on an existing breakpoint or shift click to select a group of existing breakpoints and right click on the group.
- From the pop-up menu, go to “Complex Breakpoint” and select “Add to New Sequence”.
- Enter a name for your sequence in the dialog box, and click OK.
- The breakpoint(s) will appear under the new sequence.
To add Existing Breakpoints to a Sequence
- Right click on an existing breakpoint or shift click to select a group of existing breakpoints and right click on the group.
- From the pop-up menu, go to “Complex Breakpoint” and select “Move to Name”, where Name is the name of the sequence.
To add a New Breakpoint to a Sequence
- Right click on the sequence and select “New Breakpoint”.
- For more on setting up a new breakpoint, see Hardware Address/Data Breakpoints and Enhanced Event Breakpoints.
To select the Sequence Order
- Expand on a sequence to see all items.
- 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 Breakpoints from a Sequence
- Right click on an existing breakpoint or shift click to select a group of existing breakpoints and right click on the group.
- From the pop-up menu, go to “Complex Breakpoint” and select “Remove from Name”, where Name is the name of the sequence.