Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Swallowed Exceptions in Events

    I've noticed that in callback handlers, often the exceptions disappear and I'm just left with a browser with the 'waiting' icon.

    Is there any general way to get it to show these exceptions? I'm using the GWT catch uncaught expceptions feature, but it is not a very good catch! :)

    The approach I've taken to debugging this is to find all possible callbacks and wrap them with try/catch - this seems to work. Pretty annoying though - but you could say it's forcing me to write more robust code.

    #2
    Can you show a runnable test case where an exception is not reported?

    Comment


      #3
      It was in a ResultSet dataArrived/Changed handler. I don't have a test case.

      Comment

      Working...
      X