Disabling a Breakpoint

Disable a breakpoint when you want to remove it from your source code but save it for later use.

To disable a breakpoint:

  1. In the Debugger window, select the breakpoint in the Breakpoints list.

  2. In the Properties tab, change the Enabled property to False.

    The breakpoint remains in the breakpoint list but is no longer highlighted in the Source Editor window.

To enable the breakpoint again, change the Enabled property to True. To enable or disable all breakpoints, select Breakpoints in the Debugging window, right-click and choose Enable All or Disable All.
Removing a Breakpoint
See also

Legal notices