Saturday, November 28, 2015

Re: Step-by-step debug configurations for GWT application in Spring Tool Suite (STS) IDE

To debug your server side code you need to start Tomcat in debug mode and then attach your IDE as a remote debugger: 

http://wiki.apache.org/tomcat/FAQ/Developing#Debugging

I assume you are using GWT 2.7 and you are using SuperDevMode. To debug your client side GWT code you would use your web browser's dev tools because SuperDevMode compiles your Java code to JavaScript and thus you need a JavaScript debugger. Alternatively there is a plugin for Eclipse called "SDBG" that allows you to attach your IDE to Chrome as a remote debugger. When doing so you can set breakpoints in GWT code in your IDE as the plugin will "convert" it to a javascript breakpoint in the browser.

https://sdbg.github.io

-- J.

--
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment