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 and
select columns in the Change Visible Columns dialog box.
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 | The session is debugging a core file.
Icon | Description |
---|---|
![]() |
The current session |
![]() |
A session other than the current session |
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 |