The Sessions window lists the debugging sessions currently running in the IDE. 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.
The following table describes the session states.
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. |
Stopped | 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). |
The following table describes the icons displayed to the left of the session name.
Icon | Description |
---|---|
![]() |
The current session |
![]() |
A session other than the current session |
The pop-up menu in the Sessions window includes the following items.
Menu Item | Description |
---|---|
Scope | Determines the threads affected. |
Language | Determines the programming language. |
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. |
List Options | Enables you to customize the display of the Sessions window, including adding and removing columns of information, reordering the columns, and sorting the columns. See Customizing a Debugger Window for more information. |
By default, all properties are also displayed directly in the Sessions window, except for the Host Name property.
To display the Host Name property in the Sessions window,
click the icon in the upper right corner of the window,
or right-click in the window and choose List Options > Change Visible Columns and then select the Host Name checkbox in the dialog box.
You can view the following properties in the Sessions window.