Disabling and Deleting Breakpoints

When you disable a breakpoint, all the breakpoint settings remain defined, but the breakpoint is not triggered when your program is run; your program will not stop on a disabled breakpoint. Disabling a breakpoint is useful if you have defined a breakpoint that you don't need to use now, but might need to use at a later time.

Disabling Breakpoints

Use any of the following methods to disable a breakpoint:

Deleting breakpoints

When you no longer need to examine the code at a breakpoint location, you can delete the breakpoint. You can delete breakpoints using either the source editor or in the Breakpoints window:

Use any of the following methods to delete breakpoints:

Caution: You cannot undelete a breakpoint.


Related topics

About Breakpoints
Setting Source Breakpoints
Editing a Breakpoint
Examining Breakpoints with the Breakpoints Window
About Valid and Invalid Breakpoints