Use to view the debugging sessions currently running in the IDE.
Session States
There are three 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). |
Icons
Icons are displayed to the left of the session name.
Element | Description |
---|---|
|
The current session. |
|
A session other than the current session. |
Actions
The Sessions window has the following commands in the context menu:
Element | 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. |
Properties
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 Host Name in the dialog box.
The Sessions window has the following properties:
Element | Description |
---|---|
Name |
Specifies the name used to identify the session. The session name is usually the same as the program name. |
Host Name |
Specifies the name of the host on which the process is running. |
Language |
Specifies the programming language of the program being debugged. |
State |
Specifies the state of the process associated with the session. |
Related Topics
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |