Friday, July 3, 2015

Re: After upgrade to 2.7,error stack trace gone,How to get it back?

Its a bit difficult in GWT 2.7, see: https://groups.google.com/d/msg/google-web-toolkit-contributors/NvX4_6LdE5o/Kh_dl50b1nEJ

In short, you could try https://gist.github.com/jnehlmeier/cddbc476fd330b1d4999 as UncaughtExceptionHandler. It will print uncaught exceptions to the console in a way that should Chrome allow to place links next to each stack frame pointing to the source mapped Java file and location.

In general GWT 2.8 SNAPSHOT has quite some logging fixes which should also make my above gist obsolete. So maybe you just want to upgrade your GWT to a 2.8 snapshot build.

-- J.

--
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+unsubscribe@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.

No comments:

Post a Comment