| 15 | == Using JDWP == |
| 16 | |
| 17 | One can use the JDWP connection to debug the JVM image with a graphical debugger such as Netbeans. |
| 18 | |
| 19 | The JVM has to be started with the correct options, which is easy to build into the ABCL wrapper by placing the following in the abcl.properties file: |
| 20 | |
| 21 | {{{ |
| 22 | java.options=-agentlib:jdwp=transport=dt_socket,address=6789,server=y |
| 23 | }}} |
| 24 | |
| 25 | Now, the JVM can be attached to when you wish to debug it by the "Debug >> Attach Debugger" menu options on Netbeans. If you have the abcl project open, you have a full source debugging environnment, including the ability to make Java code changes, and dynamically insert them into the running image without restarting the process. |