Community
Participate
Working Groups
Build ID: M20070212-1330 // had to be reported under 3.2.1, // because bug reporter Version list did NOT provide 3.2.2 Steps To Reproduce: 1. create any Class with a main Method 2. set breakpoint in Method 3. start Debug As... 4. You'll have to switch manually to Debug View 5. Thread starts and hangs More information: Code works fine in following combinations: 3.2.2. on Windows XP 3.2.1. on Mac OS X
Unable to reproduce on MacOS using 3.2.2 and 1.5 VM. What VM are you using?
(In reply to comment #1) > Unable to reproduce on MacOS using 3.2.2 and 1.5 VM. What VM are you using? > The problem is reproducible, but just under VM 1.4.2. Generating the following message on the operating system console: java.lang.NoSuchMethodError: com.sun.jdi.VirtualMachineManager.createVirtualMachine(Lcom/sun/jdi/connect/spi/Connection;)Lcom/sun/jdi/VirtualMachine; at org.eclipse.jdi.internal.connect.ConnectorImpl.establishedConnection(ConnectorImpl.java:98) at org.eclipse.jdi.internal.connect.SocketListeningConnectorImpl.accept(SocketListeningConnectorImpl.java:129) at org.eclipse.jdt.internal.launching.StandardVMDebugger$ConnectRunnable.run(StandardVMDebugger.java:78) at java.lang.Thread.run(Thread.java:552) When launching Eclipse 3.2.2 under VM 1.5.0, there is no problem. However, having re-read the release notes at http://www.eclipse.org/eclipse/development/readme_eclipse_3.2.2.html, these release notes claim: Apple Mac OS X: Version 3.2.2 has been tested against Java 2 Platform Standard Edition (J2SE) 1.4.2 service release 2 for Tiger.
This smells like bug 118517. The eclipse.ini points to the wrong jdi.jar
There is a manual workaround... Edit the "eclipse.ini" file's -Xbootclasspath entry to point to the correct jar: org.eclipse.jdt.debug_3.2.2.r322_v20070130 The incorrect entry is (note the 3.2.1 vs 3.2.2) org.eclipse.jdt.debug_3.2.1.r322_v20070130
Created attachment 59671 [details] updated eclipse.ini file
The eclipse.ini file is found by selecting the "Eclipse" executable, "Show Package Contents", and navigating into the "Contents/MacOS" folder.
In Mac-speak: "inside the application bundle in the Eclipse.app/Contents/MacOS directory"
Since 3.2.2 is released and there is manual workaround, we do not intend to re-build 3.2.2. The README notes for 3.2.2 will be updated. If another 3.2.x maintenance release is scheduled, we will update eclipse.ini for MacOS.
*** Bug 188772 has been marked as a duplicate of this bug. ***