JetBrains / debugger-memory-agent

Apache License 2.0
23 stars 10 forks source link

Attach agent on the fly #12

Open bibaev opened 4 years ago

bibaev commented 4 years ago

@valich has already experimented with that. I think we can do the same in the debugger. The possible challenge in to find PID of debuggee process

valich commented 4 years ago

I've used byte-budddy-agent to attach on runtime (and we are using that for instrumenting @DirtyUI components at the moment). I suppose that might be an overkill, but I looked at the sources and decided I don't want to reimplement all that logic myself :)