Wednesday, October 17, 2007

Debug Remote Java application

The java process should start with the following arguments :
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

In addition to that the code should be compiled(using javac) with debug option -g

No comments: