Debugging GWT Client side code

103 views
Skip to first unread message

Monika Yadav

unread,
Jan 9, 2018, 2:06:26 AM1/9/18
to GWT Users
Hi All,

I am trying to debug the GWT client code while redirecting from a FreeMarker screen to a GWT screen. I am not able to do this using eclipse due to missing gwt.codesvr agrument while launching the GWT screen.
Please provide your inputs on this.

Thanks,
Monika

Frank

unread,
Jan 9, 2018, 3:37:58 AM1/9/18
to GWT Users
First make sure you are using the Eclipse plugin from Brandon Donnelson.
Other plugins are outdated.

Look at the github page for documentation : https://github.com/gwt-plugins/gwt-eclipse-plugin
Brandon also made some excellent YouTube videos which should get you started in no time. You can find the link to these videos on the github page or directly : https://www.youtube.com/watch?v=DU7ZQVLR5Zo&list=PLBbgqtDgdc_TqzA-qXrjgTFMC_6DKAQyT

Thomas Broyer

unread,
Jan 9, 2018, 4:52:22 AM1/9/18
to GWT Users
gwt.codesvr is for "extremely old" (or extremely big) projects still using the legacy devmode (superdevmode has been the default since GWT 2.7, released more than 3 years ago).
With superdevmode, there's no need for any URL tweaking any longer.
So, first, make sure you're using at least GWT 2.7 (or better, 2.8, which is more than a year old already, with 2.8.2 released a few months ago), then launch devmode as usual (make sure you/Eclipse don't pass "-nosuperdevmode" as argument).
Note that with superdevmode, debugging will happen in JS, with SourceMaps (i.e. in your browser dev tools, unless you happen to have a SourceMaps-compatible IDE; for Eclipse that would mean using the SDBG plugin)
Reply all
Reply to author
Forward
0 new messages