Eclipse: skipping exceptions when debugging

Have you ever been so pissed off about the way Eclipse, in debug mode, stops at every exception thrown by the application so that you have to skip each one of them manually in order to reach your actual breakpoints ?

Well, I may have a solution for you guys !

  1. Just open the Eclipse preferences (Window -> Preferences)
  2. Go into Java -> Debug panel
  3. Uncheck the options “Suspend execution on uncaught exceptions” and (if you want to) “Suspend execution on compilation errors”
  4. Apply, Ok

You’re welcome 😉