Results 1 to 3 of 3

Thread: GWT 1.6 Exceptions not showing?

  1. #1
    Ext User
    Join Date
    Apr 2008
    Location
    Lincoln, NE
    Posts
    235

    Default GWT 1.6 Exceptions not showing?

    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?

    Thanks,

    JP

  2. #2
    Ext User
    Join Date
    Apr 2008
    Location
    Lincoln, NE
    Posts
    235

    Default

    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":

    Code:
    -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).

    -JP

  3. #3
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572

    Default

    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...

    Grant

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •