Wednesday, October 31, 2012

Re: compile to display java code line number

If you run in devmode, you will see the Java line number.

To see something more easily understood in production mode, add -style PRETTY to your program arguments. See https://developers.google.com/web-toolkit/doc/latest/RefCommandLineTools, specifically targets gwtc and devmode generated by webAppCreator.

On Wednesday, October 31, 2012 3:22:44 PM UTC-4, Luke wrote:
What parameters should I use to compile in order to display java code line number when exception ?  Below is error showing on my firefox when exception

uncaught exception: Class$S244: Exception caught: 2 exceptions caught: (TypeError) 
 lineNumber: 221: b.c is null; (TypeError) 
 lineNumber: 227: b.c is null

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/fLxqZFsmq8QJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment