Eclipse在应用服务器中调试代码如何? [英] How does Eclipse debug code in an application server?

查看:125
本文介绍了Eclipse在应用服务器中调试代码如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在调试模式下从Eclipse中运行服务器时,Eclipse和我的应用程序服务器(JBoss)之间有什么沟通?这是如何工作的?

解决方案

当您以调试模式启动服务器时,它将监听指定的TCP端口。 Eclipse连接到该端口,并使用Java调试线协议(JDWP)进行通话。阅读详情:
http://java.sun .com / j2se / 1.5.0 / docs / guide / jpda /


What communication is going on between Eclipse and my application server (JBoss) when I run the server from within Eclipse in debugging mode? How does this work?

解决方案

When you start the server in debug mode, it listens on a specified TCP port. Eclipse connects to that port, and they talk using the Java Debug Wire Protocol (JDWP). Read the details here: http://java.sun.com/j2se/1.5.0/docs/guide/jpda/

这篇关于Eclipse在应用服务器中调试代码如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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