Toggle Breakpoint

Select the Toggle Breakpoint command [Toggle Breakpoints] to create a new breakpoint at the given location. You can also use the global keyboard shortcut Ctrl + Shift + B

Depending on the location and/or selection in the source file, this command will set the correct type of breakpoint for given the location/selection.

For example, if you have the name of a class selected and activate the command, you will get a class load breakpoint on that class; alternatively, if you have a field selected and activate the command, you will get a watchpoint on the field.

Local Debugging
Remote Debugging Evaluating expressions
Running and Debugging
Connecting to a remote VM with the Remote Java application launch configuration
Line breakpoints
Setting method breakpoints
Catching exceptions Java Editor
Run Menu
Breakpoints View
Add Java Exception Breakpoint
Add Class Load Breakpoint
Toggle Line Breakpoint
Toggle Method Breakpoint
Toggle Watchpoint