Monday, December 15, 2014

Re: super dev mode with external server debugging



On Monday, December 15, 2014 3:26:58 PM UTC+1, funkforce wrote:
I am about to upgrade to gwt 2.7 but I can not get super dev mode up and running as I wish.  I run eclipse and an external app server and I have classic dev mode running with an old firefox adding -nosuperDevMode to my old run configuration in eclipse.

1. I think I get sdm running by running my old configuration in eclipse. When connecting using the browser I can make changes to the java client code in eclipse and when pressing reload in my browser it will compile incrementally. I am still having com.google.gwt.dev.DevMode as my main class. Is this the correct way to do it?
Here is my argument list:
-startupUrl http://localhost:9080/iGWT/IGWT.jsp -war /home/i/workspaces/i_e44/i/war -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -noserver -codeServerPort 9997 i.ui.I -bindAddress 0.0.0.0 i.ui.I


2. In the above configuration I can't see my java classes in the browser nor will the code stop at any break points I have set in eclipse. This is my main issue. How can I get this to work with my external app server?

I run ubuntu 14.04 and chromium 39.0.2171.65.

Source maps should work, but there's been reports that it doesn't always. AFAIK this is still under investigation.
Debugging client code must however now use the browser's dev tools, unless you use the SDBG plugin in Eclipse which bridges Eclipse debugger with the browser through "remote debugging". See https://sdbg.github.io/
(IntelliJ IDEA Ultimate also has built-in support for "remote debugging" and source maps, i.e. debugging right from the IDE code that actually runs in your browser)
 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment