yves
unread,May 20, 2013, 2:46:08 PM5/20/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Hello All,
I need to debug my gwt app. The problem is that I need to debug it OFFLINE.
After a tour on the net, I didn't found an answer.
Thus here is the scenario.
My GWT version is 2.4.0
Debugging the code is ok.
Running in production offline is ok, using a cache manifest.
But I can't do both : debugging offline.
To avoid any config difference, I use exactly the same tomcat server deployment to run in production or in debug mode (thus with the debug option -noserver).
The cache manifest is built in runtime by a dedicated service whose response depends on the current permutation.
When online, the manifest is always requested in debug and in production mode (confirmed by tracing). (a subsidiary question is : why in production the manifest is called twice and in debug it is called once ?).
Then I stopped tomcat.
=> In production offline the gwt app is running correctly.
=> In debug offline, nothing is displayed : the browser has loaded the app html file from its cache (confirmed by displaying the page source code), but the browser remains empty, the gwt app is not running.
It seems that when offline, the google dev plugin doesn't communicate correctly with the IDE as it even doesn't realize when the development mode is stopped in the IDE (the black overlay with the message "Plugin failed to connect to Development Mode server at localhost:9997" is no displayed). May be the plugin is not started when offline ?
In order to help me test my app when offline, does anybody knows why the app is not running in debug offline mode and how to make it run ?
Thanks a lot !
Yves