Friday, March 31, 2017

Re: Extending ArrayList - GWT compiler crashes out

thanks a lot Jens. I really appreciate it. We found some solutions in last hour it seems. And if I can verify it early next week, will post an update here and SO as a future reference. 

On Friday, March 31, 2017 at 9:03:10 PM UTC+5:30, Jens wrote:

Is there a way I can make the compiler print more details instead of only Stack overflow message ? 

The GWT Compiler has a -logLevel parameter but I am unsure if there is that much logging going on while figuring out serialization information. 


And is there a way to debug the compiler while its in action in my project ? 

Sure the GWT compiler is just a Java process so you can remote debug it as any other Java process by launching it in debug mode and connect to it using your IDE of choice.


You could also try using -draftCompile or -optimize 8 to see if it makes a difference. Sometimes -optimize 9 does never complete compiling because it optimizes in an endless loop and aborts as soon as the AST of your code does not change anymore. Sometimes that simply never happens. A number smaller than 9 defines the max optimization passes.


-- J.

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