Java serviceability agent to jdwp adapter
sa-jdi was removed from jdk 9, this library should replace it and allow to attach to a process from any java debugger
checked with jdk version 6 to 13
- run
java -jar sa-jdwp.jar <pid> (port)
- wait for
Waiting for debugger on..
message - connect java debugger to the host/port provided
You'll need jdks version 6, 8, 10 and 13.
To be able to do local build, create gradle.properties
file in the project root folder with paths to jdks installations like this:
JDK_16=c:\\Program Files\\Java\\jdk1.6.0_38
JDK_18=c:\\Program Files\\Java\\jdk1.8.0_181
JDK_10=c:\\Program Files\\Java\\jdk-10.0.1
JDK_13=c:\\Program Files\\Java\\jdk-13