It is possible to suspend the execution of thread when an exception is thrown by specifying an exception breakpoint. Execution can be suspended at locations where the exception is uncaught, caught, or both.
catch
clause. Note: Exception breakpoints can be enabled and disabled and have hit counts just like regular breakpoints.
Java development tools (JDT)
Breakpoints
Creating Exception Breakpoint Filters
Suspending threads
Adding breakpoints
Removing breakpoints
Enabling and disabling breakpoints
Setting method breakpoints
Breakpoints view
Add Java exception breakpoint