what is gwt.codesvr=127.0.0.1:9997 used for ?

477 views
Skip to first unread message

YuHong Yang

unread,
Feb 27, 2012, 11:00:24 PM2/27/12
to Google Web Toolkit
gwt compiles java to bytecode and javascript, does the browser send
the debug info to this address?

Thomas Broyer

unread,
Feb 29, 2012, 6:48:54 AM2/29/12
to google-we...@googlegroups.com


On Tuesday, February 28, 2012 5:00:24 AM UTC+1, YuHong Yang wrote:
gwt compiles java to bytecode and javascript, does the browser send
the debug info to this address?

gwt.codesvr in the URL's query-string is a signal for the *.nocache.js script to load hosted.html (or devmode.js, or similar, depends on your version of GWT and the linker you use) instead of one of the *.cache.html (or *.cache.js) files of your compiled app. The hosted.html loads the DevMode plugin in the browser and initializes it so it tries to connect to your DevMode "server" (possibly running within Eclipse) at the host and port given as the gwt.codesvr value (127.0.0.1:9997 in your example).
Reply all
Reply to author
Forward
0 new messages