Quick blog post I wrote about running Super Dev Mode and Source Maps inside chrome
9 plus ones
Shared publicly•View activity
- Brian SlesinskyOwnerYou didn't mention the bookmarklets. Did you try them? They should let you turn on Super Dev Mode without changing the script tags in the HTML page.Aug 24, 2013
- Digging up and promoting my older blog entry - http://geekbybit.blogspot.in/2013/03/diy-working-with-gwt-codeserver-tomcat.htmlAug 25, 2013
- you don't need useSourceMaps, Super Dev Mode will set it for you. And why are you setting user.agent and collapse-all-properties?Aug 25, 2013
- I am updating the post to use the Bookmarks instead of modifying the HTML.
I updated the post to not include "useSourceMaps", and dropped user.agent ( I usually use it in development to make compiling faster.
If I omit the collapse-all-properties everytime I try to use super dev mode, I get this exception. java.lang.RuntimeException: Multiple fragment 0 sourcemaps found. Too many permutations. I got the idea to use collapse-all-properties from http://stackoverflow.com/questions/13819338/gwt-superdevmode-throws-this-multiple-fragment-0-sourcemaps-found-too-many-perAug 25, 2013
- Brian SlesinskyOwnerActually the way you were doing it can be useful under some circumstances. The bookmarklets don't work when the GWT app is used by a page within an iframe, for example. But I do think it's good to be clear that it's an alternate approach rather than the default one.
Another solution if bookmarklets aren't working is to put a button in your application (say, on a hidden debug panel) to turn on Super Dev Mode.
Using collapse-all-properties (soft permutations) is a good idea that I never got around to testing. If it works fine, we should probably make that the default for Super Dev Mode compiles.Aug 25, 2013