Remote Debugging

9 October 2008

Ever wanted to launch a Java program from a network computer and debug it from the workstation running the Java platform? Example scenario is that you have an a J2EE application deployed on a dedicated server and you need to do debugging on you machine. This can be done if Java VM that supports this feature.

To do this, launch the program in debug mode on the remote machine. It means that the program on server will wait for a connection from your debugger. Now start the debugger with remote launch configuration. You will need to specify the address and port of the remote computer. Eclipse supports this. So you web server on which you have deployed your application should be able to launch the program in debug mode. It can be done on Glassfish and JBoss.

del.icio.us:Remote Debugging  digg:Remote Debugging  spurl:Remote Debugging  wists:Remote Debugging  simpy:Remote Debugging  newsvine:Remote Debugging  blinklist:Remote Debugging  furl:Remote Debugging  reddit:Remote Debugging  fark:Remote Debugging  blogmarks:Remote Debugging  Y!:Remote Debugging  smarking:Remote Debugging  magnolia:Remote Debugging  segnalo:Remote Debugging  gifttagging:Remote Debugging

Top Of Page | Trackback

If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.

It will look like this: Remote Debugging

Leave a Reply