How to attach to a process programmatically ?
I'm writing a 'run configuration' plugin.
The main class that this plugin is supposed to launch is starting a second Java process.
My wish is that the debug session will be attached to the second born process and not to the original one i launched.
Is this is possible ?
Thanks
Boaz
请先登录再写评论。
I'd also be interested in knowing if this is possible.
I'm looking for a way to have my plugin automatically attach to an already running Java process (assuming I know its id and that it was launched with the needed jdwp flags).