Using the Call Stack

While in debug mode, you can view the the hierarchy of method calls made during execution of the current thread. These method calls are displayed in the Call Stack view of the Debugger window. The method that was executing when the thread stopped is at the top of the stack and is marked with the Current call stack icon icon. The initial method is at the bottom of the stack.

You can move up and down the methods on the call stack using the Go to Called Method and Go to Calling Method items on the Debug menu. From within the Call Stack view, you can display the variables for a method on the call stack and go to the source code for a method.

In the Source Editor, the place in the code from which a method on the call stack was called is marked with the Call site icon.

For a complete description of the icons used in the Call Stack view, see:

Call Stack View

For step-by-step instructions on working with the methods on the call stack, see:

Moving Up and Down the Call Stack
Viewing Variables for a Method on the Call Stack
Viewing Source for a Method on the Call Stack

Legal Notices