Statement Trace Visualization

Visual Debugger Graph

The visual debugger graph shows a traced execution flow. There are two visualization levels:

  • Programs Level

  • Paragraphs Level

Programs Level

images/download/attachments/470000979/batch.png

On the programs level, each node represents a monitored program that was or is currently being executed. The executed program is marked with a blue border.
The arrows represent transfers of controls between the programs. The number on an arrow shows how many times the control was passed from the program (represented by the arrow source node) to the program (represented by the arrow target node).
Right click on an arrow to access the context menu that displays up to 3 of the last transfers. Click the context menu item that represents the transfer to position your cursor in the editor of the statement that immediately precedes the transfer.
Double click any program node to switch the paragraphs level. You are also able to switch to the paragraphs level from the context menu.

Paragraphs Level

images/download/attachments/470000979/batch_demo_main.png

The paragraph level nodes represent the executed paragraphs or the paragraphs in the middle of execution of the program. It also visualizes other monitored programs the control was transferred to or from during the execution. The programs nodes have a darker background that allows for easier identification.

For example in the above graph, DEMOGDAT is a program and GET-DATE is a paragraph.

Navigation

Navigate with the breadcrumb options on the top of the Visual Debugger view .

At program and paragraph levels you can find the node representing currently executed programs or paragraphs.

Click the Focus on Current Statement icon to locate the node.

images/download/attachments/470000979/focus_statement_icon.png

Navigate between the graphs using the arrows.

images/download/attachments/470000979/cursor_arrows.png
Cursor Arrows Icon

Visualization of an Entry Point

The node that represents the first program executed in the debugging session is marked with a flag.

images/download/attachments/470000979/demomain.png

When the first executed program is visualized on the paragraphs level, the first paragraph executed in the debugging session is also marked with the flag.