Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

- Previous: Enabling Debugging
- Next: Generating a Stack Trace for Debugging

# JPDA Options

The default JPDA options in Application Server are as follows:

    -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009

For Windows, you can change `dt_socket` to `dt_shmem`.

If you substitute `suspend=y`, the JVM starts in suspended mode and stays suspended until a debugger attaches to it. This is helpful if you want to start debugging as soon as the JVM starts.

To specify a different port (from 9009, the default) to use when attaching the JVM to a debugger, specify `address=`port-number.

You can include additional options. A list of JPDA debugging options is available at `http://java.sun.com/products/jpda/doc/conninv.html#Invocation`.

- Previous: Enabling Debugging
- Next: Generating a Stack Trace for Debugging

- © 2010, Oracle Corporation and/or its affiliates