Modify a Line Breakpoint

To modify the properties of a line breakpoint that you have previously set:

1

Open the Breakpoints Window

Main Menu:
Window > Debugging > Breakpoints

Keyboard:

Alt+Shift+5

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

2

Open the Breakpoint's Properties Window

Right click on the breakpoint whose properties you wish to modify and select Customize from the pop-up menu.

Line-Modify2.png
Click image to enlarge.

3

Modify the Properties

Change the properties as desired and click OK when done.

Line-Modify3.png
Click image to enlarge.
For a line breakpoint, the only option available is a Pass Count. There are three options:
Option Description
Always Break Breaks every time the program hits the specified line.
Break occurs Count instructions after Event Breaks after the specified line is hit plus the number of instructions specified by Count.
Event must occur Count times Breaks after the line has been hit the number of times specified by Count.

Always Break is the default condition. The other two options both accept one parameter called Count, which causes the break to occur later than the event that triggered it. For example, if you set the condition to 'Event must occur Count times' and specify a value of 5 for Count, then your program would have to hit that line 5 times before it would break.

© 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.