Pausing On All (Null) Exceptions in Eclipse


Are you getting a null exception in a third party library like GWT and you know your causing it. Fret not because eclipse has an handy method for pausing on all exceptions. Which is fantastic because you have to think not about pausing to find the exception.

How to Pause On Eclipse exception like "NullPointerException"

1. Goto the Debug Perspective



3. Click on the "!" button in the top right of the breakpoints view



4. All the exceptions are showing at this point so start typing "NulPointerException" and select it


5. Now you're ready to debug for any NullPointerException. By the way this works great for finding a null list in GWT RequestFactory.
Post a Comment

Popular posts from this blog

How to Get Date/Time in/with GWT

Encoding URL delimiters (for GWT)