How to debug super dev mode?
I am trying to follow the gwt guide and use superdev mode. I can see the original java maps in Chrome browser, can set breakpoints, but everything I tried to add to the "watch expresion" window doesn't work. So my question is how to use superdev mode for debugging?
I created a project as described in the tutorial
./webAppCreator -out MyWebApp com.mycompany.mywebapp.MyWebApp
and run
ant superdevmode
ant hosted
here is the screenshot I see in the developer tools window As you can see - the variables closeButton and dialogBox are undefined
gwt version - 2.6.1
verison of Chrome - 36.0.1985.125 m
source to share
In the current state of source maps, you cannot use "look expressions" with the source language (Java in the case of GWT); you have to use compiled JavaScript names (same can be seen in scope variables)
This is the current limitation of source maps (and browsers). It affects all languages ββthat are compiled by JS, not just GWT.
source to share