author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Thu, 09 Feb 2012 13:36:09 +0200 (2012-02-09) | |
changeset 1238 | 53da16ba1897 |
parent 1218 | c3f35f6ea0c9 |
child 1239 | 714121bcb5ef |
--- a/java.rst Wed Feb 08 14:23:17 2012 +0200 +++ b/java.rst Thu Feb 09 13:36:09 2012 +0200 @@ -168,7 +168,8 @@ $ jdb -cp $CLASSPATH -sourcepath $SRC_DIR -To attach to Java application you firstly must run application with:: +To attach to Java application you firstly must run application with (use +``dt_shmem`` for Windows and ``dt_socket`` for Linux):: $ java -Xdebug -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=$PORT \ com.vendor.product.Clazz