Share via


Viewing the Call Stack

The Call Stack helps you trace the operation of an application as it executes a series of nested procedures. The Call Stack window shows a list of all active procedure calls or stack frames for the current thread of execution. Active procedure calls are the procedures in the application that were started but not completed. The Call Stack places the earliest active procedure call at the bottom of the list and adds subsequent procedure calls to the top of the list.

The information given for each procedure begins with the name of the procedure, followed by the language engine that is executing the procedure. For multithreaded applications, selecting a thread from the Threads list makes that thread active and gives it the focus in the integrated development environment. The contents of the Call Stack will change to reflect active procedure calls for the newly selected thread.

Note   If you put the application in break mode during an idle loop, no entries appear in the Call Stack dialog box.

To view the Call Stack

  • Choose Call Stack from the Debug Windows submenu, available from the View menu.