equal
deleted
inserted
replaced
166 |
166 |
167 To run Java program in debugger:: |
167 To run Java program in debugger:: |
168 |
168 |
169 $ jdb -cp $CLASSPATH -sourcepath $SRC_DIR |
169 $ jdb -cp $CLASSPATH -sourcepath $SRC_DIR |
170 |
170 |
171 To attach to Java application you firstly must run application with:: |
171 To attach to Java application you firstly must run application with (use |
|
172 ``dt_shmem`` for Windows and ``dt_socket`` for Linux):: |
172 |
173 |
173 $ java -Xdebug -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=$PORT \ |
174 $ java -Xdebug -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=$PORT \ |
174 com.vendor.product.Clazz |
175 com.vendor.product.Clazz |
175 |
176 |
176 and then attach with debugger:: |
177 and then attach with debugger:: |