On Saturday, November 12, 2011 6:17:59 PM UTC+1, David Vree wrote:
>
> @Samyem -- Good point about the async RPC...we also had that issue 
> when debugging and/or integration testing Flex/Actionscript. 
>
> @Jeff -- Your metaphore is correct...to continue it, I'd say I trust 
> my Java/C++/C# compilers a lot.  My concern is exactly whether or not 
> the GWT compiler has issues.  Do you disable optimizations during 
> development or is that for production code too?
>

Last year, they reworked the compiler internals to make it possible to 
optimize the output even more. That introduced a few bugs, but they were 
quickly patched (hey, Google relies heavily on GWT, and they all run "from 
trunk", so any bug they introduce hit them right away, and thus has to be 
fixed quickly.
That's not much different than the compiler bug in Java 7, fixed a few 
weeks later in 7.0.1.

@Thomas - Sourcemap  is incredible if it works as advertised....is 
> that how Eclipse keeps the Java debugger "in sync" with the browser 
> Javascript execution?
>

Not at all. When you run in DevMode, you really run your Java code. The 
plugin you install in your browser calls your DevMode "code server" 
whenever it needs to reach your code; and when you use JSNI in your code, 
it's sent to the browser to be evaluated there. Debugging in Eclipse is 
then really just debugging Java code, connecting to the DevMode "code 
server" with no more than a "basic" Java debugger.
See 
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideDevMode
 and http://code.google.com/p/google-web-toolkit/wiki/DesignOOPHM for 
details.

AFAICT, the DevMode plugin you install in your browser might at some time 
be deprecated in favor of on-the-fly generation of SourceMaps and 
non-optimized JavaScript. But that's in really early stages (see the 
comments 
on https://plus.google.com/110412141990454266397/posts/iqXo5AyHkyd, search 
for "super draft mode")

-- 
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/-/mOul0XfpLQoJ.
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