Using STEP_MIN for debugging?

I'm writing a plugin to debug java at the bytecode level. I've got my position manager working, and tried to debug something.... Only to discover that it was stepping by java line, rather than individual instruction.

I poked around and found DebugProcessImpl, which seems to be where the step requests are created. And there's not a STEP_MIN in sight.

I couldn't find any way to hook into how the step requests are made, but I'm hoping someone has some ideas?

If nothing else, I guess I could write a shim at the tcp level that intercepts the jdwp traffic and rewrites the step requests. I really don't want to have to do that though.

Please sign in to leave a comment.