Monday, December 21, 2009

Debugging Java

On the JVM, start with options:

'-Xdebug -Xrunjdwp:transport=dt_socket,address=41422,server=y,suspend=n'

and then use jdb to connect to the port 41422.

No comments: