Thursday, September 15, 2005

Enable Java Virtual Machine for Remote Debugging

You can debug Java application remotely.
But first. You need to configure your java virtual machine to enable remote debugging.
Remote debugging is dependent only on your java virtual machine.Not depend on your application server.

to do this pass the following start up parameters when you start your java virtual machine

option purpose
-Xdebug Enables debugging support in the VM
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n Loads in-process debugging libraries and specifies the kind of connection to be made.

for more information:

Configuring Tomcat For Remote Debugging:
Configuring Eclipse for Remote Debugging:
http://www.onjava.com/pub/a/onjava/2005/08/31/eclipse-jboss-remote-debug.html

--
h.o.s.a.m.r.e.d
Be OpeN Mind
--
http://hosamred.blogspot.com

No comments: