Set a Sequence Breakpoint

To set a sequence breakpoint you must first have two or more simple (line, address, data, event) breakpoints set, then:

1

Open Breakpoints Window

Main Menu:
Window ▶ Debugging ▶ Breakpoints

Keyboard:

Alt+Shift+5

Menu-Debugging-Breakpoints.png
Click image to enlarge.

2

Add First Breakpoint to Sequence

Right click on the first breakpoint you want to add to a sequence and select Complex Breakpoint ▶ Add to New Sequence… from the pop-up menu.

Sequence-Set2.png
Click image to enlarge.

3

Name the Sequence

Give the sequence a name. This can be anything you want and is simply used to identify this sequence in the breakpoints window.

Sequence-Set3.png
Click image to enlarge.

4

Partially Complete Sequence

At this point, you have a sequence that contains one breakpoint. While it will work, it isn't truly a sequence until there are two or more breakpoints within the sequence.

Sequence-Set4.png
Click image to enlarge.

5

Add Next Breakpoint to Sequence

Right click on the next breakpoint you want to add to the sequence. Select Complex Breakpoint ▶ Move to MySequence where MySequence is the name you provided in step 3.

Sequence-Set5.png
Click image to enlarge.

6

Complete Sequence

After adding a second breakpoint (of any simple type), it is now a functional sequence. However, you can repeat step 5 as many times as needed to insert additional breakpoints to the sequence.

Once you have added all the desired breakpoints to the sequence, you may need to change their order.

Sequence-Set6.png
Click image to enlarge.
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.