Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SuperDevMode issues

    Hello,

    My smartGWT (5.0-p20151120) project was previously using GWT 2.6.1 and target browser was Firefox 24 so we used the normal Dev Mode to debug.
    But now, our customer wants the target browser to be Firefox 38.2.1. So to be able to keep on debugging, we tried to use GWT 2.7.0 with SuperDevMode. I used your documentation and I managed to compile my app, deploy it and hit on any breakpoint. But I have many problems :
    - The first compile at code server start is very much longer than web app start before with simple dev mode
    - the recompilations are very long too and make the firefox browser freeze (whereas it seems to be OK in chrome)
    - I was not able to enter into sub-methods when hitting any breakpoint in browser.

    So, it seems impossible to keep on developping this way. What can I do to improve this? How do SmartGWT developpers do to develop for firefox browsers? Please help me and give me some tips. Me and my team are very in trouble.

    #2
    We tried using SDM mode with the BuiltInDS Sample in SGWT 5.0p, and we see the following numbers for Eclipse Luna (browser independent):

    Initial start of SDM: 64-74 seconds.
    Subsequent start: 5.8-6.0 seconds.


    (The "initial start" case can be reproduced by deleting gwt-unitCache under the project in Eclipse.)

    The browser-specific "first SDM compile" timings are:

    Firefox 44: 11.9-12.1s compile / 1.1-1.5s link / 13.0-13.6s total.
    Chrome 48: 12.6-13.8s compile / 1.2s link / 13.8-15.0s total


    We do see the problem you mentioned about the Firefox source maps. In the case of Fifefox, if the debugger is open, it will take 30 seconds after compilation to load the page/sourcemaps. It's nearly instantaneous if the debugger is closed, and in Chrome (with or without Chrome's dev tools open).

    The slowness observed with GWT 2.7 is described in this GWT Issue on GitHub

    [Desktop i5-3570k quad-core, OpenSUSE 13.1 x64 Linux]

    Are the numbers above similar to yours - what numbers are you seeing?

    Comment


      #3
      Hello Isomorphic,

      Thanks for the reply.
      I'm not currently able to run the BuiltInDS project. Maybe my environment is broken. My team and I will try to run it on another computer and we will let you know our results as soon as possible.

      Comment

      Working...
      X