Viewing the Call Stack in CDB

The call stack is the chain of function calls that have led to the current location of the program counter. The top function on the call stack is the current function, the next function is the function that called the current function, and so on. The call stack that is displayed is based on the current program counter, unless you change the register context. For more information about how to change the register context, see Changing Contexts.

In CDB, you can view the call stack by entering one of the k (Display Stack Backtrace) commands.

Send comments about this topic to Microsoft