Complex Breakpoint Sequence
Last modified by Microchip on 2023/12/20 21:17
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.
Create a Breakpoint Sequence
Right-click on an existing breakpoint or press Shift and 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.
Add Existing Breakpoints to a Sequence
Right-click on an existing breakpoint or press Shift and 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.
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 the "Hardware Address/Data Breakpoints" and "Enhanced Event Breakpoints" pages.
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.
Remove Breakpoints from a Sequence
Right-click on an existing breakpoint or press Shift and 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.