The Sessions window lists the debugging sessions currently running in the
IDE. You can open the Sessions window by choosing Window Debugging
Sessions
(Ctrl-Alt-6). 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 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. |
On Breakpoint | The application is suspended because it hit a breakpoint. |
Paused | The application is suspended 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 contextual 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. |
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. |
Properties | Displays the properties of the selected session. |
See Also | |
---|---|
Current Context in the Debugger
Starting a Debugging Session Debugger Windows |