Hi,

I've tried to run the super dev mode (dev mode with flag -superDevMode) in
debug in order to debug my server side code. The problem is that the
superdevmode server is also started in debug mode and the time needed for
the initial compilation is very very bad. This is an example of time needed
by the first compilation with a small application:

Linking per-type JS with 3891 new types.
               prelink JS size = 8177175
               prelink sourcemap = 8177175 bytes and 194766 lines
               postlink JS size = 8054573
               postlink sourcemap = 8054573 bytes and 191812 lines
            Source Maps Enabled
         Compile of permutations succeeded
         Compilation succeeded -- 418,016s
      Linking into
/var/folders/qc/ktqtdtdx6790j436xz3jqw3r0000gn/T/gwt-codeserver-5506406643949710211.tmp/com.caerus.kaam.KaamSdm/compile-3/war/kaam;
Writing extras to
/var/folders/qc/ktqtdtdx6790j436xz3jqw3r0000gn/T/gwt-codeserver-5506406643949710211.tmp/com.caerus.kaam.KaamSdm/compile-3/extras/kaam
         Link succeeded
         Linking succeeded -- 10,692s
      430,813s total -- Compile completed

If you don't change anything to the code and recompilation of the
application takes 2,147s.

For your info, the same application running not in debug mode takes 20s for
the initial compilation.

That makes simply the debug mode impossible to use and you are not able to
debug your server side code anymore. The workaround is to run two separate
processes, one with -superDevMode and --nostartServer flags and another
without the -superDevMode flag that you can start in debug mode.

I don't know if we can do something on the superdevmode side, maybe the
solution can come from the IDE directly where the superdevmode process is
never launched in debug mode ?

Any thought ?

Julien

PS: I'm using Intellij13

-- 
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/CABb_3%3D7DgGmkkQVe3mQgXxT%2B7rjbM%2BMOCv7TVjRPa08h%3DDPiEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to