If you run java with the debug agent, and ask for help output, the output contains an invalid URL:
----------------------
bin/java -agentlib:jdwp=help
Java Debugger JDWP Agent Library
--------------------------------
(see http://java.sun.com/products/jpda for more information)
jdwp usage: java -agentlib:jdwp=[help]|[<option>=<value>, ...]
...
----------------------
The latest published docs, which are for JDK 15, do have the following jpda page:
https://docs.oracle.com/en/java/javase/15/docs/specs/jpda/architecture.html
Although it references jdwp and its specs, it does not seem to get you to any page that explains the options that can be used (the ones that you would see in the -agentlib:jdwp=help output above if I didn't truncate it). The page that does this is:
https://docs.oracle.com/en/java/javase/15/docs/specs/jpda/conninv.html#oracle-vm-invocation-options
----------------------
bin/java -agentlib:jdwp=help
Java Debugger JDWP Agent Library
--------------------------------
(see http://java.sun.com/products/jpda for more information)
jdwp usage: java -agentlib:jdwp=[help]|[<option>=<value>, ...]
...
----------------------
The latest published docs, which are for JDK 15, do have the following jpda page:
https://docs.oracle.com/en/java/javase/15/docs/specs/jpda/architecture.html
Although it references jdwp and its specs, it does not seem to get you to any page that explains the options that can be used (the ones that you would see in the -agentlib:jdwp=help output above if I didn't truncate it). The page that does this is:
https://docs.oracle.com/en/java/javase/15/docs/specs/jpda/conninv.html#oracle-vm-invocation-options
- relates to
-
JDK-8268370 Fix "Oracle VM" references in JPDA documentation, and other misc improvements
-
- Resolved
-