Daniel,

I'm not planning to edit the generated JavaScript by hand. My idea is to 
remove the need to do webapp *reloading*. The problem with reloading the 
webapp is NOT that it takes a lot of time (it probably doesn't), but that 
if the webapp is a stateful one, reloading it on each SDM recompile means 
the developer has to essentially "start over" in reproducing the problem 
being debugged (e.g. navigating in the webapp, opening the relevant 
screens, clicking here and there, etc.).

This problem is not something new. It is well known and addressed when 
doing e.g. server-side or rich client development (HotSpot hot code 
replace; JRebel; "edit-and-continue" in the .NET / Win32 world, etc.)

How can webapp reloading be removed? By integrating SuperDevMode in Eclipse 
in such a way that:
(a) The SDM recompilation to be transparent and part of the regular IDE 
project build (
https://github.com/ivmarkov/sdbg/blob/master/com.github.sdbg.integration.jdt/src/com/github/sdbg/integration/jdt/gwt/GWTSDMBuilder.java
)
(b) The JavaScript generated by the recompilation should be automatically 
pushed to Chrome via the Chrome Debugger wire protocol - without reloading 
the webapp
(
https://github.com/ivmarkov/sdbg/blob/master/com.github.sdbg.integration.jdt/src/com/github/sdbg/integration/jdt/gwt/GWTSDMBuilder.java
 
https://github.com/ivmarkov/sdbg/blob/master/com.github.sdbg.integration.jdt/src/com/github/sdbg/integration/jdt/gwt/GWTSDMDOMResourceTracker.java
)

Both (a) and (b) are easy, except that (b) does not work. It does not work, 
because the way the xsiframe linker injects the permutation script in the 
DOM is not compatible with Chrome LiveEdit.

P.S. As for my SDM recompilation times - see here: 
https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/1EYSq2QZ51s

 

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/69679d80-0294-493c-b703-c2d2caf3ceb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to