jvmti - JDI: How to pause a Java application (JVM) like in the debugger -
jvmti - JDI: How to pause a Java application (JVM) like in the debugger -
i looking potentially jdi api pause jvm @ arbitrary point during execution. looking @ breakpointrequest createbreakpointrequest method needs specific location. there other api not need location or someway current location passed create breakpoint.
i looking way attach , pause application, utilize jvmti agent receive callback breakpoint event perform farther processing. thanks
breakpoints create sense location in source. arbitrary pausing application best done suspending threads running in jvm. take @ suspendthreadlist()
or suspendthread
in jvmti. mechanism 'pause' looking for.
java jvmti jdi
Comments
Post a Comment