Directly to the left of the line where you want to add the breakpoint, open the marker bar pop-up menu and select Enable Breakpoint or Disable Breakpoint depending on the current state of the breakpoint.
In the context menu of the view, select Enable or Disable.
While the breakpoint is enabled, thread execution suspends before that line of code is executed. The debugger selects the thread that has suspended and displays the stack frames on that thread's stack. The line where the breakpoint was set is highlighted in the editor in the Debug perspective.
Applying hit counts
Catching Java exceptions
Removing breakpoints
Setting method breakpoints
Managing conditional breakpoints
Stepping through the execution of a program