... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)

2005-02-17

Eclipse and Java Remote Debugging

To enable Java remote debugging on the Sun JVM, use the command line:

java ... -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=6666,suspend=n

In Eclipse, go to the Debug launch configuration screen and create a new "Remote Java Application" configuration that uses the address specified in the -Xrunjdwp argument.  Once you are finished debugging, click on the 'disconnect' button in the Debug view.

Blog Archive