Starting a Debugging Session

When you run the Java debugger, you can simultaneously debug any number of programs. A list of programs currently being debugged is maintained in the Sessions view of the Debugger window. You can manage your debugging sessions using the contextual menus in the Session view and by editing the session's properties on the property sheet.

When you debug a Java application, at least two virtual machines must be running. One VM runs the IDE, and the other VM runs the application being debugged. If you start a debugging session using the Debug and choose Start command, the IDE runs the second VM for you. If you start a debugging session using the Debug and choose Attach command, you must explicitly start the second VM and provide the correct parameters.

For step-by-step instructions on working with sessions, see:

Starting the First Debugging Session
Attaching the Debugger to a Running Process
Starting an Additional Debugging Session
Modifying Session Properties
Debugging a Program on a 64-Bit Java Virtual Machine
Finishing a Debugging Session

For a description of the actions and properties associated with a session, see:

Sessions View

Legal Notices