|
Re: How to attach the debugger without the user interface [message #52219 is a reply to message #52194] |
Thu, 26 March 2009 16:51 |
Eclipse User |
|
|
|
Originally posted by: jacek.pospychala.pl.ibm.com
Vanni,
so you'd basically like to do Debug>Debug Remote Java Application
programatically, correct?
Then let's find out how does Debug Remote Java Application launch
configuration work. Launch configurations are all registered in
org.eclipse.debug.core.launchConfigurationTypes extension point.
Let's then go to Plug-in Registry view, switch to Extension Points mode,
find org.eclipse.debug.core.launchConfigurationTypes extension point.
You'll see that plugin org.eclipse.jdt.launching extends it with
org.eclipse.jdt.launching.remoteJavaApplication launch config.
This launch config declares that all the delegate implementation is in
class
org.eclipse.jdt.internal.launching.JavaRemoteApplicationLaun chConfigurationDelegate
in org.eclipse.jdt.launching plug-in.
So let's have a look at that class and implement something similar like
there in your own plugin.
Hope this helps.
vanni pisze:
> Hi, I'm trying to make a plugin witch can attach automatically the
> eclipse debugger to remote process.
> My plugin has the address and port number of the jvm to debug (port
> number defined at jvm launch with the vm arguments).
> I would like to know if it's possible to attach automatically the
> debugger with this informations without using the debug configuration
> dialog.
> Thanks.
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02149 seconds