简体   繁体   English

如何在Eclipse Luna中调试JBoss 7.1应用程序

[英]How to debug a JBoss 7.1 application in eclipse Luna

Anybody knows how can I enable the debug port of JBoss if I start the JBoss inside of eclipse? 任何人都知道,如果我在eclipse中启动JBoss,如何启用JBoss的调试端口? I have followed this https://stackoverflow.com/a/21295569/1465758 but the debug port (8787) is only open if I start JBoss from a command line outside of eclipse Luna. 我已经遵循了这个https://stackoverflow.com/a/21295569/1465758,但是仅当我从Eclipse Luna外部的命令行启动JBoss时,调试端口(8787)才打开。 If I open eclipse Luna and try to start the JBoss server the debug port 8787 will be still closed! 如果我打开Eclipse Luna并尝试启动JBoss服务器,调试端口8787仍将关闭! Seems that eclipse Luna is not using the changed standalone.conf file. 似乎Eclipse Luna没有使用更改后的standalone.conf文件。

On eclipse I have installed the JBossAS Tools V3.0.0.Beta3-v20140718-1832-B70 plugin. 在Eclipse上,我已经安装了JBossAS Tools V3.0.0.Beta3-v20140718-1832-B70插件。

I was trying to debug like in the answer, but its not working in JBoss 7.1. 我试图像答案中那样进行调试,但是它在JBoss 7.1中不起作用。 I found that it is bug of JBoss 7.1.x. 我发现这是JBoss 7.1.x的错误。 Look here: https://developer.jboss.org/message/723813 看这里: https : //developer.jboss.org/message/723813

I downloaded EAP 6.1 (old name - JBoss 7.2) - its working perfect with JBoss Tools (Luna) 4.2.3 Final. 我下载了EAP 6.1(旧名称-JBoss 7.2)-它与JBoss Tools(Luna)4.2.3 Final完美结合。

I have now install the "JBoss Developer Studio (Core Features)" plugin (V8.0.0.Beta3). 我现在已经安装了“ JBoss Developer Studio(核心功能)”插件(V8.0.0.Beta3)。 Now I can debug JBoss applications via the debug icon of the JBoss panel. 现在,我可以通过JBoss面板上的调试图标来调试JBoss应用程序。

在此处输入图片说明

I'm sure this didn't work yesterday (with the "JBossAS Tools V3.0.0.Beta3" plugin). 我确定昨天(使用“ JBossAS Tools V3.0.0.Beta3”插件)不起作用。

Also notice that I must removing and reinstalling the eclipse IDE befor I could installing the JBoss Developer Studio plugin. 还要注意,在安装JBoss Developer Studio插件之前,必须删除并重新安装Eclipse IDE。 Otherwise (without reinstalling eclipse) I cannot install the JBoss Developer Studio plugin. 否则(不重新安装eclipse)我无法安装JBoss Developer Studio插件。 I assume there is any old stuff of the removed JBoss Tools 3.0.0 plugin which prevents a successful installation of the new plugin ... 我假设已删除的JBoss Tools 3.0.0插件有任何旧东西,这会阻止新插件的成功安装...

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

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