When you disable a breakpoint, it remains in the Breakpoints view. To have your program stop on a breakpoint that you have disabled, select and enable it. The advantage of disabling a breakpoint instead of deleting it is that you do not have to find the location in the source to set the breakpoint again.
There are two indicators to the left of a set breakpoint. To the far left is a check box which indicates if the breakpoint is enabled. Enabled breakpoints are indicated with a check mark in this check box, while disabled breakpoints are indicated with no check mark in the check box. When a breakpoint is disabled, you can choose Enable from its pop-up menu in the Breakpoints view or editor, and the Disable menu item is not available. When a breakpoint is enabled, you can choose Disable from its pop-up menu and not Enable.
You can enable or disable a single breakpoint from the Breakpoints view, as follows:
You can enable or disable a single breakpoint from the editor, as follows:
You can also disable all breakpoints. To do this, click the Skip All Breakpoints toggle button in the Breakpoints view. This will temporarily disable all breakpoints. To re-enable all breakpoints (except those that you had specifically disabled with the Disable Breakpoint action), click the Skip All Breakpoints toggle again to cancel it.