How to invoke the debugger?

I want my plugin to execute something inside the debugger. To be clear, I
don't want to debug my plugin (I already know how to do that), but have a
plugin that runs an application through the debugger.

Anyone know how? Any thoughts/suggestions?


0
5 comments
Avatar
Permanently deleted user

IDEA's debugger has no OpenApi yet, so currently this is only possible if you use Sun's launching connectors directly (see JPDA
docs,"Connection and Invocation Details").

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"

"John Murph" <jmurph@aNuOtSoPmAaMtedlogic.com> wrote in message news:asqul4$q5q$1@is.intellij.net...

I want my plugin to execute something inside the debugger. To be clear, I
don't want to debug my plugin (I already know how to do that), but have a
plugin that runs an application through the debugger.

>

Anyone know how? Any thoughts/suggestions?

>
>


0
Avatar
Permanently deleted user

Thanks for the response. Any plans of exposing this API?

0
Avatar
Permanently deleted user

Oh, and some questions (I'm ignorant of the JPDA stuff). If I launch using Sun's connectors directly, will breakpoints that have been set in IDEA take effect? Will the console output go to the "debug" tool window?

0
Avatar
Permanently deleted user

Since I haven't gotten a reply yet, I'll use this opportunity to ask even more questions. :)

If I use one of these launching connectors, I'll have to use the one that matches the current settings under the "Debugger" configuration (socket or shared memory) correct?

If using socket transport, what is the port number that IDEA uses? If using shared memory transport, what is the "transport address" that IDEA uses?

I think I need this information to make this scheme work. Let me know if I don't (and I'll go do some more reading)!

Thanks for the help,
John Murph

0
Avatar
Permanently deleted user

does anybody know when they're going to open the debug apis? or if they have any intention of doing so?
I've been wanting to write a plugin that will send me a message whenever a breakpoint is reached while doing remote debugging

0

Please sign in to leave a comment.