Eclipse 中的 JBoss 调试 [英] JBoss debugging in Eclipse

查看:24
本文介绍了Eclipse 中的 JBoss 调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何配置 JBoss 以在 Eclipse 中调试应用程序?

解决方案

你的意思是 远程调试 JBoss 来自 Eclipse 吗?

来自 配置 Eclipse 以进行远程调试:

<块引用>

设置JAVA_OPTS变量如下:

set JAVA_OPTS= -Xdebug -Xnoagent-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%

<块引用>

或:

JAVA_OPTS="-Xdebug -Xnoagent-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS"

在调试框架中,选择远程 Java 应用程序节点.

在 Connection Properties 中,指定 localhost 作为 Host,并将 Port 指定为在 JBoss 服务器的运行批处理脚本中指定的端口,8787.

How do you configure JBoss to debug an application in Eclipse?

解决方案

You mean remote debug JBoss from Eclipse ?

From Configuring Eclipse for Remote Debugging:

Set the JAVA_OPTS variable as follows:

set JAVA_OPTS= -Xdebug -Xnoagent 
   -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%

or:

JAVA_OPTS="-Xdebug -Xnoagent 
  -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n $JAVA_OPTS"

In the Debug frame, select the Remote Java Application node.

In the Connection Properties, specify localhost as the Host and specify the Port as the port that was specified in the run batch script of the JBoss server, 8787.

这篇关于Eclipse 中的 JBoss 调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆