Sunday, May 20, 2012

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.

Trying out the Dart Analysis Server

I wanted to see how the Dart Analysis Server was put together and worked. I started looking to see how I could wire it up and try out the co...