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.
Breakpoints
Add Java Exception Breakpoint
Throwable
java.lang.Throwable
Subclasses of this exception