If you are debugging interactively, using "pause on uncaught exceptions"
can help. Then you can look at the stack frames in the debugger.

Another workaround is to log stack traces to the server and use
StackTraceDeobfuscator. This will also help you in production:

http://www.gwtproject.org/javadoc/latest/com/google/gwt/core/server/StackTraceDeobfuscator.html

I don't think we can easily deobfuscate stack traces in the GWT application
itself, because it requires the sourcemap which is normally only loaded by
the debugger. It would be possible with a round trip to the Super Dev Mode
code server, but this would be an asynchronous call so the API would be
awkward.



On Wed, Apr 9, 2014 at 2:03 PM, Chak Lai <chaklam....@gmail.com> wrote:

>
>>
>
>
> The stack-trace in Super Dev Mode is the only major issue that I have. It
> would be nice if the UncaughtException in SDM can tell me which line in
> java source is causing the problem, instead of giving me those JavaScript
> stack-trace messages...
>
> So far I like SDM. My current project is running a lot faster in SDM
> compare to Development Mode plugin.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/QSEjbhhHB4g/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to