Viewing the Call Stack for a Function (Windows CE 5.0)
You can view the call stack for a function while a program executes.
To view the call stack for a function
Start debugging, and then wait for the debugger to stop at a breakpoint.
Place the insertion point in a function.
From the Debug menu, choose Run To Cursor to execute your application to the location of the insertion point.
The Locals tab of the Variables window is updated and displays the local variables for the function or procedure.
From the View menu, choose Debug Windows and then choose Call Stack.
The functions are listed in the order they are called, with the current function at the top. The Context list in the Variables window also contains call stack functions.
Select a function to navigate to its source code or disassembled object code.
The window views change accordingly.
To run to the application function return address, select the function in the Call Stack window and then choose Run To Cursor from the Debug menu.
To set or remove a breakpoint at a function return address, select the preceding function in the Call Stack window and then choose Insert/Remove Breakpoint from the shortcut menu.
See Also
Viewing Function Calls | Call Stack Window
Send Feedback on this topic to the authors