Share via


Call Stack Window

Home Page (Debugger)OverviewHow Do I... Topics

During a debug session, the Call Stack window displays the stack of function calls that are currently active. When a function is called, it is pushed onto the stack. When the function returns, it is popped off the stack.

The Call Stack window displays the currently executing function at the top of the stack and older function calls below that. By default, the window also displays parameter types and values for each function call. You can display or hide parameter types and values using the Debug tab of the Options dialog box or the right mouse button shortcut menu.

You can navigate to a function’s source code or disassembled object code from the Call Stack window. If source code for the selected function is not available, it displays the function’s object code in the Disassembly window.

Navigating to a function's code changes the view of the program shown in the Variables window and other debugger windows, but does not change the next line of execution or the value stored in the program counter.

What do you want to do?

Set a breakpoint at the return address of a function

View the call stack for a function

Run to the cursor location in the call stack