Command ‘Call Stack’

Symbol:

Function: This command opens the Call Stack view.

Call: Main menu Debug .

This view is very useful when you want to step into programs. It shows the current location with the complete call path.

Application

Name of the active application that controls the current POU

Task

Name of the task that controls the current POU

POU

Name of the POU where program execution has halted

The first line in the list describes the current execution location (marked with a yellow arrow). If this location is in a block that is called by another block, then the call location is described in the second line. In turn, if the caller is called by yet another block, then that call location is described in the third line, and so on.

Location

Position within the POU where program execution has halted

  • Line and column numbers for textual editors

  • Network or element numbers for graphical editors

Instance path

Instance where 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 receives the last displayed location during a stepped execution, but it is displayed in gray.

Note

The Call Tree view, in contrast to the Call Stack, at any time provides information on the calls of a POU.

See also