I am writing a Java program using Eclipse Juno.
When I run the program, and it meets an exception, program just dies with back trace. I set these exception breakpoint to
You need to Go to Breakpoints view > Add Java Exception Breakpoint then search for Throwable it will come up with java.lang.Throwable. Add java.lang.Throwable and check Subclasses of this exception just as @Eonil did.

Finally I found it!
I had to explicitly set subclasses of this exception checkbox for each exception in Breakpoints pane.
Also, I need to set NullPointerException's caught locations too or even uncaught exceptions won't be caught.



J! icon
