Passing an agent jar


Hi All,

I'm hoping to build a plugin that acts something like a debugger for multithreaded programs.

I'm planning on using instrumentation to interact with user code and adding a dynamic agent that tracks threads' execution.

Are there any examples or pointers as to how I can add an agent in to my plugin to interact with user code?

Thanks in advance for any tips!


Please clarify where and how you want to interact with user's code exactly. What is "user's code" - I assume current project? Just "plain" execution? Or extend existing "Debugger" view in some way?