The Call Stack view in the Debugger window lists the sequence of calls
made during execution of the current thread.
You switch the display of the Call Stack view by clicking in the toolbar
of the Debugger window.
The information given for each call includes the name of the call, followed by the filename and line number of the call's currently executing statement. If the filename and line number are displayed in blue underlined text, then the text is linked to the source code for that call.
One call is the current call. By default, this call is the most recent call made by the current thread. When you select a different current thread, the Call Stack view is updated to show the calls for that thread and the values of variables in the Local Variables view are adjusted for the context of the current call.
The following table describes the icons displayed to the left of the call name.
Icon | Description |
---|---|
![]() | The current call on the call stack |
![]() | A call other than the current call |
The contextual menu in the Call Stack view includes the following items.
Menu Item |
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. |
List Options | Enables you to customize the display of the Call Stack view, including adding and removing columns of information, reordering the columns, and sorting the columns. See Customizing Debug Views for more information. |
Properties | Displays the properties of the call. |
See Also | |
---|---|
Current Context in the Debugger
Making a Thread Current Popping a Call From the Call Stack Debugger Window |