The Call Stack window lists the sequence of calls made during execution. When the debugger is suspended, the Call Stack window shows the sequence of function calls (i.e., the call stack). On initial suspension, the top-most stack frame is selected automatically.
Double-click on a function call in the window to go to that line in the editor. You can double-click on a call stack frame to select it, then explore any variable or expression values for that frame in the Variables and Watches windows.
Icons
The following table describes the icons displayed to the left of the call name:
Element | Description |
---|---|
|
The current call on the call stack |
|
A call other than the current call |
Actions
The context menu in the Call Stack window includes the following commands:
Element | Description |
---|---|
Make Current |
Makes the call the current call. This command is equivalent to double-clicking the call. |
Pop to Here |
Removes the calls that are listed above the selected call from the call stack. |
Copy Stack |
Copies a textual representation of the call stack to the clipboard. |
List Options |
Enables you to customize the display of the Call Stack window, including adding and removing columns of information, reordering the columns, and sorting the columns. See Customizing a Debugger Window for more information. |
Related Topics
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |