Disabling/enabling breakpoints and watchpoints

You may wish to temporarily deactivate a breakpoint or watchpoint without losing the information it contains.

To disable or enable a breakpoint or watchpoint:

In the Breakpoints view, right-click the breakpoint or watchpoint and select Disable or Enable. Clicking the check box in the Breakpoints view (so the breakpoint is no longer selected) also disables the breakpoint.

For breakpoints only, right-click the breakpoint in the editor area and select Disable Breakpoint or Enable Breakpoint.

To disable or enable multiple breakpoints or watchpoints:


  1. In the Breakpoints view, use any of the following methods to select the breakpoints:
    • Select breakpoints and watchpoints while holding down the Ctrl key.
    • Select a range of breakpoints and watchpoints while holding down the Shift key.
    • From the main menu, select Edit > Select All .
    • Right-click in the Breakpoints view and select Select All.
  2. Right-click the highlighted breakpoints/watchpoints and select Disable or Enable.