Sun Java System Web Server 6.1 2006Q2 SP6 Release Notes

Using Sun Java Studio Enterprise 8 for Debugging

Sun Java Studio Enterprise 8 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. Restart the server instance in the debug mode by using the Sun Java System Web Server Administration interface (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.

  6. Enter the remote machine name and JPDA port number.

    At that moment, any breakpoint created in the IDE on Servlet source code of a deployed application will be active.