Skip to main content

Command: Call Stack

Symbol: _cds_icon_call_stack.png

Function: The command opens the Call Stack view.

Call: View menu

This view is very useful when you want to step into programs. It shows the location, which has been currently reached, with the full call path.

Application

Name of the active application which controls the POU which has been currently reached

Task

Name of the task which controls the POU which has been currently reached

POU

Name of the POU where the program execution has halted

The first row in the list describes the current execution location. It is identified by a yellow arrow. If this location is in a POU which is called by another POU, then the call location is described in the second row. In turn, if the caller is called by yet another POU, then that call location is described in the third row, and so on.

Position

Location within the POU where the program execution has halted

  • Row and column numbers for text editors

  • Network or element numbers for graphical editors

Instance Path

Instance where the program execution has halted

The call stack is also available in offline mode and normal online mode when you are not currently using any debugging functions. In this case, it gets the last displayed location during a stepped execution, but it is displayed in "gray" fonts.

Tip

Different from the Call Stack, the Call Tree provides call information about a POU at any time.

For more information, see: Call Tree and Using Breakpoints