Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to stop eclipse breaking at every caught exception when running in debug

when I start debugging a java project, eclipse keep on breaking at random exceptions in 3rd party libraries, and it's so annoying. any idea how to stop this?

I tried clicking on the (!) icon on the Breakpoints view, I can see that both "Suspend on caught exceptions" and "Suspend on uncaught exceptions" checkboxes are not checked.. still eclipse breaks on the exception.

Although I'm not sure I'm using this window correctly, am I meant to select the exceptions one by one? or is there a way to specify all exceptions?

Kind Regards

like image 247
Charbel Avatar asked Feb 11 '11 16:02

Charbel


1 Answers

I had a similar issue with Eclipse stopping on uncaught exceptions and resolved it by going to Window - Preferences - Java - Debug and unchecking "Suspend execution on uncaught exceptions".

[Note: Not an answer to the exact question asked but highly related].

like image 98
Steve Chambers Avatar answered Sep 22 '22 21:09

Steve Chambers