简体   繁体   English

GWT:Eclipse调试

[英]GWT: eclipse debugging

I'm trying to migrate a netbeans/ant gwt project to an eclipse/maven gwt project. 我正在尝试将netbeans / ant gwt项目迁移到eclipse / maven gwt项目。

For that I used the archetype gwt-maven-archetypes , to create a maven project, and after that I copied the sources. 为此,我使用原型gwt-maven-archetypes创建了一个maven项目,然后复制了源代码。 I had succesfully been able to run codeserver and the application itself, using maven comands, as suggested by the archetype author. 正如原型作者所建议的,我已经能够使用maven命令来运行codeserver和应用程序本身。 I even can debug on chrome dev console. 我什至可以在chrome开发人员控制台上进行调试。

The problem, is that I want to debug from eclipse, and it seems eclipse gwt plugin, doesn't support the current structure. 问题是,我想从eclipse进行调试,看来eclipse gwt插件不支持当前结构。

Any ideas? 有任何想法吗?

Thanks 谢谢

I ended up, giving up this archetype, and I'm using now simple webapp maven archetype. 我最终放弃了这种原型,现在使用的是简单的webapp maven原型。 I figured it out, but still a little tricky on my project. 我知道了,但在我的项目上仍然有些棘手。

So, as @ElHoss, has suggested I'm using SDBG . 因此,就像@ElHoss一样,建议我使用SDBG Besides that, I'm not using jetty, but my own tomcat installation, so I've followed this video instructions, together with the SDBG page video's instruction. 除此之外,我没有使用码头,而是安装了自己的tomcat,因此我遵循了此视频说明以及SDBG页面视频的说明。

At the end, I have 3 Running Configuration items: 最后,我有3个运行配置项:

  • The one that starts Tomcat; 启动Tomcat的那个;
  • The one that starts codeserver; 一个启动代码服务器;
  • Chrome Launcher, as instructed on SDBG page. 根据SDBG页面上的说明启动Chrome。

If you need plus information, please comment. 如果您需要其他信息,请发表评论。

Thanks. 谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM