Examining the Call Stack

  1. Make sure your program is running.

  2. In the Thread bar, click the thread for which you want to view the call stack.

  3. Click the Suspend button, choose Debug > Suspend Thread, or choose Suspend in the right-mouse-button menu.

  4. Click the Callstack tab to open the Callstack card.

    The call stack is displayed in the Callstack card.

To view the source code for a call on the stack, double-click the call you want to examine and the source code for the call is displayed in the Source panel.

Note: You can view only user code and files not marked <stripped> in the call stack.

Use the Frame Down and Frame Up buttons to move up and down the stack frames for the current thread.

Note: If you select a frame in the call stack other than the one where execution actually stopped, and you initiate a Step Into, Step Over, or Return, the thread runs until it returns to the selected frame, at which point the action you chose takes place.

See Also

Guide to the Cosmo Code Development Environment
12-96*230