Enabling and disabling breakpoints

 

Breakpoints can be enabled and disabled as needed.  When a breakpoint is enabled, thread execution suspends before that line of code is executed.  When a breakpoint is disabled, thread execution is not suspended by the presence of the breakpoint.

 

To disable a breakpoint:

 

  1. Locate the breakpoint in the marker bar of an editor or in the Breakpoints view.
  2. Open the breakpoint's context menu and select Disable Breakpoint.
  3. The breakpoint image will change to a white circle.

 

To enable the breakpoint:

 

  1. Locate the breakpoint in the marker bar of an editor or in the Breakpoints view.
  2. Open the breakpoint's context menu and select Enable Breakpoint.
  3. The breakpoint image will change back to a blue circle.

 

Related concepts

Breakpoints and watchpoints

General debugging support and Eclipse integration

 

Related tasks

Running and debugging

Breakpoints

Adding breakpoints

Removing breakpoints

Setting method breakpoints

Setting watchpoints