score:317

Accepted answer

you are able to define the precise list of exception you want to have a breakpoint on, even if those exceptions are uncaught (which should be the equivalent of "unhandled")

uncaught

score:52

go to the breakpoints window, there's a button that looks like j!, there you can set breakpoints for java exceptions, either caught or uncaught. you can reference classes or use pattern matchers for exception names.

also, under window -> preferences, select java -> debug and there's a checkbox to tell the debugger to break on uncaught exceptions


Related Query

More Query from same tag