View Full Version : GWT 1.6 Exceptions not showing?

16 Apr 2009, 9:30 AM
If I use Eclipse on my Mac or Eclipse on my PC, if there is an exception in any of my projects that use GWT 1.6.4, they do not show up in the "Hosted Mode" console like they did with GWT 1.5 and previous versions.

Is anyone else experiencing this problem? If so, does anyone know how I can fix it?



16 Apr 2009, 9:58 AM
To anyone else who is having this problem, you'll need to adjust your log level. I'm not sure why Google changed this behavior.

In Eclipse, you need to get to the "Edit launch configuration properties" dialog. Go to the tab "Arguments" and add the following to "Program Arguments":

-logLevel ERROR

That fixed it for me. Now any exceptions in my code are visible in the "Hosted Mode" console window (the other window that opens with the Hosted Mode browser).


16 Apr 2009, 12:09 PM
I've also found that you need to surround some calls in the try {} catch and print the exceptions caught. Sometimes some methods/functions consume the exception and its never caught/thrown etc...