Thursday, July 2, 2015

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

Hello
      As you know,in java,if an error occurred,error stack trace will tell us where(exact line) and why it happened,but right now I only got some think like this:

Uncaught com.google.web.bindery.event.shared.UmbrellaException: Exception caught: Exception caught: Exception caught: Exception caught: Exception caught: (TypeError) : Cannot read property 'ordinal_3_g$' of undefined
castFireEvent_0_g$  @   athena-0.js:149686
fireEvent_7_g$  @   athena-0.js:149710
fireEvent_2_g$  @   athena-0.js:13276
onCreateButtonClicked_4_g$  @   athena-0.js:72077
onBrowserEvent_13_g$    @   athena-0.js:72203
dispatchEventImpl_0_g$  @   athena-0.js:270336
dispatchEvent_4_g$  @   athena-0.js:270325
dispatchEvent_6_g$  @   athena-0.js:272229
apply_44_g$ @   athena-0.js:224696
entry0_0_g$ @   athena-0.js:224766
(anonymous function)    @   athena-0.js:224732

I took 30 mins to locate where this bug occurred,then fix it in 5 seconds .And realize that above error message given by chrome console almost uselessness,and I remember,in previous version(before souremap),we got error stack trace,that is a huge advantage over current mechanism,is it to get it back?

--
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