Select the Uncaught Exception option to suspend execution when an exception of the same type as the breakpoint is thrown in an uncaught location.
This option can be changed with the Breakpoint Properties..., or by right-clicking an exception breakpoint.
Breakpoints
Catching exceptions Creating Exception Breakpoint Filters Adding breakpoints Removing breakpoints Launching a Java program Running and debugging
Add Java exception breakpoint