首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2SE开发 >

为什么在linux(FC6系统)下面eclipse不能运行debug解决方案

2012-01-29 
为什么在linux(FC6系统)下面eclipse不能运行debug我在FC6下面用Eclipse一直都不能debug,说什么cannotconne

为什么在linux(FC6系统)下面eclipse不能运行debug
我在FC6下面用Eclipse一直都不能debug,说什么cannot   connect   to   VM
ERROR:   transport   error   202:   gethostbyname:   unknown   host
ERROR:   JDWP   Transport   dt_socket   failed   to   initialize,   TRANSPORT_INIT(510)
JDWP   exit   error   AGENT_ERROR_TRANSPORT_INIT(197):   No   transports   initialized   [../../../src/share/back/debugInit.c:690]
FATAL   ERROR   in   native   method:   JDWP   No   transports   initialized,   jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

连hello   world都不能调试

这个问题困扰我好久了

[解决办法]
在linux(Debian)下用过eclipse,没有任何问题,难道。。。
你把Eclipse的视图切换到debug状态试一下,不要让eclipse自动切,有时候它
切不过来,会导致不能debug。
[解决办法]
我在WINXP下都可能发生这样的问题,有时候要在线程那窗口点几下就好了
[解决办法]
恭喜楼主

热点排行