Friday, June 24, 2016

Re: How to debug GWT application on Eclipse

Like Thomas said. Don't use DevMode but keep using SuperDevMode.

The easiest way to do debugging is to use Chrome as a browser.

- When running your app in SuperDevMode press F12 in Chrome.
- This will show the Chrome developer tools window
- In this panel select the 'sources' tab
- Then in the tree view open 'top', open {nameOfYourApp}, open 127.0.0.1:9876, open "sourcemaps/{nameOfYourApp}.
- Now you will find your original java source. If you open a java file here you can set a breakpoint in Chrome...


--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment