I found some JSNI code that was inadvertently doing a javascript object clone of a GWT object. Fixing that solved my problem. Although it's still not clear why it would only trigger in optimized code and not draft compile or why no exceptions were being captured in the console. Oh well, it's fixed now.
-- Thank you all for your suggestions!
On Monday, October 3, 2016 at 1:45:02 PM UTC-7, David Becker wrote:
On Monday, October 3, 2016 at 1:45:02 PM UTC-7, David Becker wrote:
The profile entries that pointed to JavaScriptException in obfuscated output now points to a lambda in detailed output, so I think that's a red herring. I commented out the lamba in question and those profile entries went away, but the problem persists, so I don't think it's the lamba itself.I've also tried every optimization level and every optional switch and the only thing that works is -optimizationLevel=0 or -draftCompile. I tried diff'ing the detailed output between optimization level 0 and 1, but there's just too many changes for that to be a useful debugging technique.Any additional suggestions?
On Monday, October 3, 2016 at 10:42:38 AM UTC-7, David Becker wrote:I'm not getting anything on the console logs and I've verified that I've got an uncaught exception handler set. However, when I profile during this frozen state, all profile entries seem to lead to this:
d,com.google.gwt.core.client.JavaScriptException ::name,com.google .gwt.core.client.JavaScriptException ,name,com/google/gwt /core/client/JavaScriptException .java,98,-1So it sounds like you might be on to something, Mike. I'm now trying to narrow it down with DETAILED output and will also experiment with different optimization levels.Thanks again!
On Saturday, October 1, 2016 at 12:34:17 PM UTC-7, David Becker wrote:I'll do some more diagnostics on it come Monday.Thanks for the advice...
On Saturday, October 1, 2016, Mike Warne <mike.warne@gmail.com> wrote:Do you have any JavaScript exceptions in your browser console? Sometimes an exception will cause important code to be skipped, causing your app to be unresponsive.
--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/ .C04ThMTNfls/unsubscribe
To unsubscribe from this group and all its topics, 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 https://groups.google.com/group/google-web-toolkit .
For more options, visit https://groups.google.com/d/optout .
--
-.. .- ...- .. -.. ... -... . -.-. -.- . .-.
This message was sent from my mobile phone. Please excuse any typos or auto-corrections I might have missed.
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment