Recently chrome stopped to show Source Maps.
I had a some break with my project and now with the new version of gwt and chrome I don't see java sources in source tab.
I'm using super dev mode. Compiled file (*.cache.js) that I receive from Code Server contains header for Source Maps:
X-SourceMap:/sourcemaps/Simulation/gwtSourceMap.json
Code Server doesn't print that it has sent Source Maps (as it was before), only that Compilation was successful
I have: gwt version 2.5.0 Chrome verson 25.0.1364.172 Ubuntu 12.04 LTS (but the problem is reproduced in Windows and MacOS as well)
To enable source maps in Google Chrome, go to Developer Tools, click the little cog icon, and then make sure that “Enable Javascript source maps” is checked. That's it.
Start by right clicking on a project and running the “Web Application (GWT SDM)” shortcut, which will create a new launch configuration. This produces a Development Mode tab that contains a quick link to load the browser for debugging. Once the browser initializes, it will start the first Super Dev Mode compiling.
Like its predecessor (which I'll call classic Dev Mode), Super Dev Mode allows GWT developers to quickly recompile their code and see the results in a browser. It also allows developers to use a debugger to inspect a running GWT application.
I guess you hit https://code.google.com/p/google-web-toolkit/issues/detail?id=7725
Try to update to 2.5.1.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With