I would like to connect to java process started by eclipse using a command line debugger but not sure what default properties of the eclipse launched java process are ? I wouldn't mind using attaching using sockets but not sure how much slower that would be ?
views:
24answers:
1
+1
Q:
What is the default properties that eclipse uses to launch a java process in its debugging mode ?
+1
A:
how about
-Xdebug -Xnoagent -agentlib:jdwp=transport=dt_socket,suspend=n,address=localhost:12345
then you can attach a java debugger to port 12345
Ron
2010-04-16 20:22:30