* Target VM attaches to previously-running debugger |
*
+ *
* -
* At startup, debugger selects one or more connectors from
* the list returned by {@link #listeningConnectors} for one or more
@@ -126,7 +127,7 @@
* a target VM to connect.
* -
* Later, target VM is launched by end user with the options
- *
-agentlib:jdwp=transport=xxx,address=yyy
+ * {@code -agentlib:jdwp=transport=xxx,address=yyy}
* where "xxx" the transport for one of the connectors selected by the
* the debugger and "yyy"
* is the address generated by
@@ -135,15 +136,17 @@
* -
* Debugger's call to {@link com.sun.jdi.connect.ListeningConnector#accept(java.util.Map)} returns
* a {@link VirtualMachine} mirror.
+ *
* |
*
*
*
* Target VM launches debugger (sometimes called "Just-In-Time" debugging) |
*
+ *
* -
* Target VM is launched with the options
- *
-agentlib:jdwp=launch=cmdline,onuncaught=y,transport=xxx,server=y
+ * {@code -agentlib:jdwp=launch=cmdline,onuncaught=y,transport=xxx,server=y}
*
* -
* Later, an uncaught exception is thrown in the target VM. The target
@@ -171,6 +174,7 @@
* {@link com.sun.jdi.connect.AttachingConnector#attach(java.util.Map)} method
* of the selected to attach to the target VM. A {@link VirtualMachine}
* mirror is returned.
+ *
* |
*
*