This document covers the following topics:
The call stack window lists the objects which have been called during the current debugging session in hierarchical order.
The latest object is always shown at the top of the list. The variables window shows all variables which belong to this object by default. For example, when you step into a subprogram, this subprogram is shown at the top of the list and the variables window automatically shows the variables for this subprogram.
You can bring the editor window for a specific object to the front by double-clicking the corresponding entry in the call stack window.
Notes:
For each object listed in the call stack, you can display the source code and thus bring its editor window to the front. There are different commands for this purpose:
Go To Source Code
When you choose this command, the variables for the object in
the activated editor window are not considered in the variables window. It
still shows the variables of the previously called object.
Switch To Call Level
When you choose this command, the variables for the object in
the activated editor window are shown in the variables window.
To go to the source code of a different object
In the call stack, select the object for which you want to display the source code and from the context menu, choose
.The editor window for this object is activated.
To go to the source code of a different object and display the variables of this object
In the call stack, select the object for which you want to display the source code and from the context menu, choose
.The editor window for this object is activated. The content of the variables window changes; it now shows variables of this object.
When you have displayed the source code of a different object, you can return to the object at the current trace position (which is indicated by an arrow) and thus bring its editor window to the front.
To return to the object at the current trace position
From the
menu, choose .Note:
See also Trace Position in Editor
Window.
The editor window containing the current trace position is activated. The content of the variables window changes; it now shows the variables of this object.