Announcement

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

    catching errors/exceptions

    Hi all,

    Is there a way to introduce a central JS exception handler for my SmartGWT application?

    Or at least, is there a central mechanism to insert exception handlers to all code points where the SmartGWT library calls my event handlers?

    Since these calls originate from the JS world, I am unable to catch them with GWT's uncoughtExceptionHandler.

    Uncought exceptions makes debugging really hard, but manually inserting exception handling into every event handler would be a pain.

    Is there a better way to do this?

    #2
    I'll have a close look at this. There is a GWT issue related to this so please star it.

    Sanjiv

    Comment


      #3
      Anything new about this?

      It still happens from time to time that an exception is generated in JS space (triggered by some browser event), which I can not catch.

      As far as I know, this is nearly impossible to debug now.

      Comment


        #4
        See this post. Workarounds have just been added to address the GWT 2.0 exception swallowing flaw.

        Comment

        Working...
        X