On Tuesday, September 25, 2012 7:59:16 AM UTC+2, maticpetek wrote:
>
> 2) When we get exception in client code, Dev mode will print out full 
> stacktrace. Is something like this available in SuperDev mode? For example, 
> the following code :
>
>   String bla = null;
> bla.length(); // Exception
>
> will print "Uncaught TypeError: Cannot read property 'length' of null" in 
> Chrome Console windows, you can get source of compile JS code, but matching 
> this with Java code is practical imposible. 
>

I'm using remote logging and emulated stack traces (which can print 
beautiful emulated Java stack traces, containing Java method names and line 
numbers, even for compiled and obfuscated JavaScript) as explained in 
http://code.google.com/p/google-web-toolkit/wiki/WebModeExceptions

But what's missing for super dev mode is the possibility to specify the 
"-extra" argument, which can be specified for the GWT compiler (which is 
needed to update the symbol maps). Super dev mode's CodeServer currently 
just says "Unknown argument: -extra". So in super dev mode, this currently 
leads to output like:

java.lang.Throwable: Some
at Unknown.$collect(Unknown Source)
at Unknown.fillInStackTrace_1(Unknown Source)
at Unknown.fillInStackTrace(Unknown Source)
at Unknown.$fillInStackTrace(Unknown Source)


-- 
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/-/XGKE1rhZ8M4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to