我的eclipse只能run不能debug

,我的eclipse换了好几个版本了,都不行,就连其他的ide在debug的也有相同现象
我操作系统是win7,jre1.7和1.6都不行,求高手给出解决方案。多谢了啊
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: connect failed: Connection refused
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:741]
我没有使用tomcat,我只是调试最简单的helloworld也不行,不知道为什么,当然我是打有断点的

试试这样,点击run/Stop/Restart Myeclipse Service 再选择configure Server 再选择Services 再打开Tomcat 然后选择你自己安装的版本,然后点击Launch,把Run mode 改成Debug mode
温馨提示:内容为网友见解,仅供参考
第1个回答  2018-08-26

有人知道这是怎么回事吗?

什么程序都运行不了,出现红色的JJS,程序没有错误的

第2个回答  2011-03-04
没用tomcat啊,你打开window->preference->run/debug->perspectives看看里面有没有什么没选对的 。或者是debug的端口被占用了?
相似回答