I'm writing an Eclipse extension. As part of it, I will need to programmatically start listening for remote debugging sessions. Additionally, I will need to start separate java processes and connect them to the debugging session.
How can I programmatically start listening for these? I've looked around but can't find appropriate methods.
The ability to launch and connect to Java VMs for debugging can be found in the JDT Debug project, at http://projects.eclipse.org/projects/eclipse.jdt.debug . Click on the "Engage" link for pointers to the source code. org.eclipse.jdt.internal.launching.StandardVMDebugger seems like a decent place to start.
IBM Emerging Technologies