Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 123033 - Cannot connect to VM
Summary: Cannot connect to VM
Status: RESOLVED DUPLICATE of bug 123118
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.1   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 3.1 M6   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-08 14:16 EST by zhuge CLA
Modified: 2006-01-09 12:51 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhuge CLA 2006-01-08 14:16:30 EST
When I run the Java program, there is no error. But When I debug it as Java Application, the error, Cannot connect to VM, occurs. Why? Please help me!

Thank you very much.

zhuge
Comment 1 Jess Garms CLA 2006-01-09 12:03:49 EST
Debug issue, not APT. Reassigning.
Comment 2 Michael Rennie CLA 2006-01-09 12:45:04 EST

*** This bug has been marked as a duplicate of 123118 ***
Comment 3 zhuge CLA 2006-01-09 12:51:08 EST
(In reply to comment #1)
> Debug issue, not APT. Reassigning.
> 

Thank you for your reassigning. Now I past the .log's information about it below.
!SESSION 2006-01-08 23:35:08.819 -----------------------------------------------
eclipse.buildId=I20050401-1645
java.fullversion=GNU libgcj 4.0.0 20050519 (Red Hat 4.0.0-8)
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=zh_CN Command-line arguments:  -os linux -ws gtk -arch x86 -data /home/zhuge/workspace
 !ENTRY org.eclipse.jdt.launching 4 120 2006-01-08 23:37:05.890
!MESSAGE Cannot connect to VM
!STACK 0
com.sun.jdi.connect.TransportTimeoutException
   at org.eclipse.jdi.internal.connect.SocketTransportService.accept(com.sun.jdi.connect.spi.TransportService$ListenKey, long, long) (/usr/lib/eclipse/plugins/org.eclipse.jdt.debug_3.1.0/jdimodel.jar.so)
   at org.eclipse.jdi.internal.connect.SocketTransportImpl.accept(long, long) (/usr/lib/eclipse/plugins/org.eclipse.jdt.debug_3.1.0/jdimodel.jar.so)
   at org.eclipse.jdi.internal.connect.SocketListeningConnectorImpl.accept(java.util.Map) (/usr/lib/eclipse/plugins/org.eclipse.jdt.debug_3.1.0/jdimodel.jar.so)
   at org.eclipse.jdt.internal.launching.StandardVMDebugger$ConnectRunnable.run() (/usr/lib/eclipse/plugins/org.eclipse.jdt.launching_3.1.0/launching.jar.so)
   at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)

 Thank you very much.

zhuge < zhuge@Rinaix.cn >