Go to Glossary Go to Search Go to IBM C and C++ Compilers Help Home Page Go to IBM Software WWW Site

Call Stack Window

When one function calls another, information about the calling function is placed on the stack for the executing thread. The debugger examines the stack and the processor registers to determine all functions that have been called for that thread, and lists these functions in the Call Stack window.

You can use the Call Stack window to view a list of active functions for a thread, and to raise a Source window to view the code for any of these functions. To display the window, select Monitors->Call stack or click on the pushbutton in the Source window or the Session Control window.Each Call Stack window displays information for a single thread. The thread number is indicated in the window title.

You can select what type of information is displayed in the Call Stack window by changing the display style. You can choose to display the function, source file, return address, and other information.

When debugging a program running on OS/2, the amount of free stack space remaining for the thread is shown near the top of the window, in bytes.



Main Debugger Windows


Display functions in the Call Stack Window