jsadebugd pid [ server-id ] jsadebugd executable core [ server-id ]
jsadebugd attaches to a Java process or core file and
acts as a debug server. Remote clients such as jstack, jmap, and
jinfo can attach to the server using Java
Remote Method Invocation (RMI). Before starting
jsadebugd
, rmiregistry
must be started with:
rmiregistry -J-Xbootclasspath/p:$JAVA_HOME/lib/sajdi.jar
where $JAVA_HOME
is the JDK installation directory.
If rmiregistry was not started, jsadebugd will start an rmiregistry
in a standard (1099) port internally. Debug server may be stopped
by sending SIGINT (pressing Ctrl-C) to it.
NOTE - This utility is unsupported and may or may not be
available in future versions of the JDK. In Windows Systems where
dbgeng.dll is not present, 'Debugging Tools For Windows' needs to
be installed to have these tools working. Also, PATH
environment variable should contain the location of
jvm.dll
used by the target process or the location
from which the Crash Dump file was produced.
For example, set
PATH=<jdk>\jre\bin\client;%PATH%