Remote Debugging

From VCGR Wiki

Jump to: navigation, search

Using Eclipse to remote debug a Java application is fairly easy. You need to set up a Remote Debugging profile in Eclipse (the same way that you set up a normal Run or Debug profile except that you are creating a Remote Debugging profile rather than a Java Application profile).

The other thing that you have to do is run the remote Java process with the additional command line values:

  • -Xdebug
  • -Xrunjdwp:transport=dt_socket,address=<port>,server=y,suspend=<y|n>
Personal tools