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

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -