Community
Participate
Working Groups
In the method SocketAttachConnector.connect(....) a virtual machine is created by VirtualMachine vm = connector.attach(map); This obviously connects to the remote debug process. If the subsequent call to debugTarget= JDIDebugModel.newDebugTarget(launch, vm, vmLabel, null, allowTerminate, true); fails (eg. by a time-out), the connection to the remote VM is not terminated leaving the debug port of the remote VM blocked. Since there is no means to get the associated VirtualMachine object I can cannot do this in my LaunchConfigurationDelegate. Either there should be a method getVm(): VirtualMachine in the IVMConnector interface or you catch all Throwables and release the connection on catching the error (eventually in method abort()). Cheers Richard
*** This bug has been marked as a duplicate of 66330 ***