Application icon

The Debug Panel

The Debug panel is displayed when a Debug statement is executed. The content that is displayed starts with the prompt data (if any) specified in the Debug statement and is followed by the generated debug information. What information is generated can be configured in the Debug Content Configuration panel which is displayed via the Configure button.

The disclosure control to the right of the Configure button provides additionally functionality by a displayed menu. The following items are available:

Open Action
A menu will be displayed containing all of your actions. You can use this menu to select an action to be opened in an action editor window. You can edit the opened action but it cannot be saved until action processing terminates.

Open Action from Call Stack
A menu will be displayed representing the call stack. Selecting menu item opens the action and positions to the appropriate line number. You can edit the opened action but it cannot be saved until action processing terminates.

View Metadata for all Active Files
This is equivalent to doing a View>Metadata as Text. The metadata will be displayed in the Log Viewer.

View Metadata for Initial Set of Files
File availability statements can cause the set of active files to differ from the initial set of files.

View Metadata for Current File
When executing grouped or in an action started by a Load & Run statement, or a Run statement is being executed which sets the file availability by testing a track variable, there is the concept of the current file. This item is only displayed when pertinent.

View Container
A menu will be displayed containing the names of all active containers. Selecting a container will display its content in the Log Viewer.

View Debug Info in Log Viewer
The debug panel's content will be displayed in the Log Viewer with a fixed font. Note that the Compress content configuration setting is effectively disabled when the content is displayed. Displaying the content in the Log Viewer allows to you see it in its entirety and to save it to a file.

The Continue button will close the debug panel and return control to the executing action. The disclosure button to the right of the Continue button will display a menu that will set the action debug state to true or false prior to closing the panel and resuming action execution. More information on the action debug state can be found in Debugging Actions.



Debug Content Configuration

The Debug Statement

Debugging Actions