Tuesday, January 16, 2018

Re: Chrome debug crash with super devmode

IIRC, some (many?) people aren't using source maps at all, using -style PRETTY to get readable JS code. That might be an acceptable workaround in your case.

On Tuesday, January 16, 2018 at 10:49:16 AM UTC+1, Joffrey Diebold wrote:
Hi,
I can't use super devmode with Chrome for debugging because when the source panel of the developer tools is opened, then the Chrome process (not the whole Chrome) crashes.
The cause seems to be the request of both files sourceMap.json and symbolMap. 
The last message logged in the console is :
[INFO] GET /sourcemaps/myapp/844426EA9DFF6DCDCD3D609E2793943A_sourcemap.json
[INFO]    sent source map for module 'myapp' in 757 ms

These two files seem to be too large for the process (respectively  18 and 209 MB).
Our application is very big and it uses GXT, GWT Editor framework*, and an additional library (Resty) for serializing in json the data for the communication between client and server*
Firefox is not a good alternative, because it is too slow.
We use IntelliJ, but not the Professional version, so we can't use IntelliJ GWT integration. We don't want to use Eclipse (even if SDBG is a great plugin).

Our current super devmode configuration includes the OBF style parameter and we have removed the options generating the stacktraces in the GWT module configuration file to generate the shortest possible files.
Any help would be appreciated (super devmode configuration...)

(*)  it generates a lot of classes at the super devmode compilation !

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