For ``transport`` use.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 25 Apr 2019 01:36:26 +0300
changeset 2357 107d39975281
parent 2356 f4b0cdaf07db
child 2358 c7a7c6b59840
For ``transport`` use.
java.rst
--- a/java.rst	Sun Mar 31 12:22:22 2019 +0300
+++ b/java.rst	Thu Apr 25 01:36:26 2019 +0300
@@ -173,8 +173,7 @@
 
   $ jdb -cp $CLASSPATH -sourcepath $SRC_DIR
 
-To attach to Java application you firstly must run application with (use
-``dt_shmem`` for Windows and ``dt_socket`` for Linux)::
+To attach to Java application you should run application as::
 
   $ java -Xdebug -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=$PORT \
     com.vendor.product.Clazz
@@ -183,6 +182,11 @@
 
   $ jdb -attach $PORT
 
+For ``transport`` use:
+
+* ``dt_shmem`` for Windows
+* ``dt_socket`` for Linux
+
 Creating thread dump.
 =====================