Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

when I debug my gwt application code using google eclipse plugin via

selected gwt module->debug as->web application,

the generated debug configuration always use com.google.gwt.dev.GWTShell as the main class. This makes my debug failed as GWTShell is a deprecated class (GWT program not running).

Now I have to manually change the main class to com.google.gwt.dev.DevMode in the "debug configurations" again and again whenever I need to debug.

I would like to know how to make google eclipse plugin set the correct main class DevMode automatically.

I am using Eclipse J2EE 4.3.2 Kepler and the gwt sdk is version 2.6.0.

thanks!

share|improve this question
add comment

1 Answer

This happens because the Google Plugin for Eclipse cannot determine the version of your GWT, and falls back to assuming it's an ancient version, where DevMode didn't exist yet and GWTShell should be used.

Update to GWT 2.6.1 (download the SDK from http://www.gwtproject.org/download.html and configure it in Eclipse) to fix the issue.

See https://code.google.com/p/google-web-toolkit/issues/detail?id=8556

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.