Select the Exit option to suspend execution when the method associated with the breakpoint is exited.
This option can be changed in the Breakpoints View detail pane, with the Breakpoint Properties..., or by right-clicking a method breakpoint.
Setting method breakpoints
Launching a Java program
Running and debugging