We all hate waiting! The good news is that Eclipse Mars is only 1 1/2 weeks away and to help you while you wait for this great release, I’m reviewing the Top 10 Eclipse Mars features that I’m most excited about.
But I digress. We all hate waiting; and what happens when your IDE makes you wait?
From Mac’s spinning beach ball of death to Window’s unresponsive UI, user interface lags take developers out of the flow. We’ve all tried to fix the problem by clicking the mouse a little harder or hammering on the esc key; but as we all know, that doesn’t work. The only real fix is to understand what long-running task is blocking the UI thread.
With Eclipse Mars, debugging this just got a lot easier.
Eclipse now ships with a UI Responsiveness Monitoring Tool. The tool can be configured to report instances of UI unresponsiveness.
UI freezes longer than the warning threshold are logged to the Eclipse error log as warnings. The logged messages include one or more stack traces of the display thread. Longer UI freezes are logged as errors and include stack traces of all threads. Filters can be used to ignore particular freezes, which is especially useful if you are trying to isolate particular bugs.
Errors and warnings are reported to the Eclipse Error log. Clicking on the error will reveal the stack trace at the time of the freeze.
We can see here that downloading the internet on the UI thread was a bad idea.
For more Eclipse Tips and Tricks, follow me on Twitter.