Viewing the Call Stack in Visual Studio
The procedures shown in this topic require that you have the Windows Driver Kit integrated into Visual Studio. To get the integrated environment, first install Microsoft Visual Studio, and then install the Windows Driver Kit (WDK). For more information, see Windows Driver Development.
To open the Call Stack window in Visual Studio, from the Debug menu, choose Windows>Call Stack. To set the local context to a particular row in the stack trace display, double click the first column of the row.
In the Debugger Immediate Window, you can view the call stack by entering one of the k (Display Stack Backtrace) commands. If the Debugger Immediate window is not already open, from the Debug menu, choose Windows>Immediate.