C and C++ Sessions Window

See Also 

The Sessions window lists the debugging sessions currently running in the IDE. When you start a second debugging session, the window opens automatically. You can open the Sessions window by choosing Window > Debugging > Sessions. If you open the Sessions window when a debugging session is running, it closes automatically when you end the debugging session. If you open the window when no debugging session is running, it stays open until you close it.

The information given for each session includes the session name and state. In most cases, the state corresponds to the state of the process associated with the session. One session is always considered the current session, unless no sessions are running. By default, the current session is the session that you most recently started.

By default, the window displays the name, process ID, process state, and host for each session. To display additional information, click the Change Visible Columns button Change Visible Columns icon and select columns in the Change Visible Columns dialog box.

Session States

The following table describes the session states. The session is debugging a core file.
State Description
Starting The program is being started. You cannot pause, resume, or single-step the application.
Running The application being debugged has been started and is executing instructions.
Paused The application is suspended because it hit a breakpoint or because you either paused the application or performed a step command (Step Into, Step Over, Step Out, or Run to Cursor).
Core file

Icons

The following table describes the icons displayed in the Sessions window.
Icon Description
Current Session icon The current session
Session icon A session other than the current session

Actions

The pop-up menu in the Sessions window includes the following items.
Menu Item Description
Make Current Makes the selected session the current session.
Finish Terminates the selected process and removes the session. If the process is attached, the process is disconnected without being terminated.
Finish All Terminates all debugging sessions.
See Also
Current Context in the Debugger
Starting a Debugging Session
C and C++ Debugger Windows

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.