Select the Method Exit option to suspend execution when the method associated with the breakpoint is exited.
This option can be changed with the Breakpoint Properties..., or by right-clicking a method breakpoint.
Setting method breakpoints
Adding breakpoints
Removing breakpoints
Launching a Java program
Running and debugging
Enabled Option
Hit Count
Suspend Policy
Method Exit
Breakpoint Conditions