I tested the exception handler (
https://gist.github.com/jnehlmeier/cddbc476fd330b1d4999)
This is what I did:
logger.log(Level.SEVERE, "RuntimeException", new RuntimeException("2 +
2 = 5"));
GWT.log("RuntimeException", new RuntimeException("2 + 2 = 5"));
And my output is still obfuscated:
Mon Dec 08 18:15:18 GMT+100 2014 buddyisLogger
SEVERE: RuntimeExceptionjava.lang.RuntimeException: 2 + 2 = 5
at Unknown.NOc_g$(Unknown Source)
at Unknown.IOc_g$(Unknown Source)
at Unknown._Oc_g$(Unknown Source)
at Unknown.gPc_g$(Unknown Source)
at Unknown.G_g$(Unknown Source)
at Unknown.L_g$(Unknown Source)
at Unknown.a5i_g$(Unknown Source)
at Unknown._4i_g$(Unknown Source)
at Unknown._g_g$(Unknown Source)
at Unknown.xng_g$(Unknown Source)
at Unknown.bog_g$(Unknown Source)
at Unknown.hog_g$(Unknown Source)
at Unknown.y5i_g$(Unknown Source)
at Unknown.R5i_g$(Unknown Source)
at Unknown.Q5i_g$(Unknown Source)
at Unknown.A_g$(Unknown Source)
at Unknown._hk_g$(Unknown Source)
at Unknown.kNe_g$(Unknown Source)
at Unknown.QMe_g$(Unknown Source)
at Unknown.LMe_g$(Unknown Source)
at Unknown.cNe_g$(Unknown Source)
at Unknown.IMe_g$(Unknown Source)
at Unknown.kLe_g$(Unknown Source)
at Unknown.nLe_g$(Unknown Source)
at Unknown.anonymous(Unknown Source)
at Unknown.callback_0_g$(Unknown Source)
java.lang.RuntimeException: 2 + 2 = 5
at NOc_g$
at IOc_g$
at _Oc_g$
at gPc_g$
at G_g$
at L_g$
at a5i_g$
at _4i_g$
at _g_g$
at xng_g$
at bog_g$
at hog_g$
at y5i_g$
at R5i_g$
at Q5i_g$
at A_g$
at _hk_g$
at kNe_g$
at QMe_g$
at LMe_g$
at cNe_g$
at IMe_g$
at kLe_g$
at nLe_g$
at anonymous
at callback_0_g$
Am Montag, 8. Dezember 2014 15:45:35 UTC+1 schrieb Jens:
>
> Well this still does not solve the problem!
>>
>
> As a workaround you can try using:
> https://gist.github.com/jnehlmeier/cddbc476fd330b1d4999
>
> I use the master branch of GWT but I think it should also work with GWT
> 2.7. In Chrome I get clickable stack traces that point to the source mapped
> Java file and it also special cases UmbrellaException which might have more
> than one cause chain (e.g. you have two listeners on a button and both
> throw an exception you will see both causes and not just the first one).
>
> -- J.
>
--
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-web-toolkit-contributors/d3c4cb00-0277-4ec3-bdb9-1ba827801086%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.