Sun Java System Web Server 6.1 2005Q4 SP5 Release Notes

Using Sun ONE Studio 5 for Debugging

Sun ONE Studio 5 can be used for `remote debugging' if you want to manually attach the IDE to a remote Web Server started in debug mode. The steps are as follows:

  1. Using the Sun Java System Web Server Administration interface, restart the server instance in debug mode (Server Manager > JVM General > Debug Enabled).

  2. Note the JPDA port number.

  3. Start the IDE.

  4. Choose Debug > Start.

  5. Select the dt_socket method, and then enter the remote machine name and the JPDA port number. At that moment, any breakpoint created in the IDE on servlet source code of a deployed application will be active.