Dynamic Graph Update
The graph is updated dynamically when the new debugging data is received. When you hit a breakpoint, you always receive new data.
The layout is automatically adjusted during the addition of a new node or arrow.
Dynamic Graph Update Example:
Place two breakpoints at the statements 000028 and 000034 in the DEMOMAIN program:
000020 START-OF-PGM.
000021 MOVE 'THIS IS MESSAGE FROM DEMOMAIN' TO MSG-TEXT.
000022 PERFORM GET-DATE THRU GET-DATE-EX 3 TIMES.
000023 PERFORM GET-NEW-INVOICES.
000024 PERFORM PROC-INVOICE UNTIL INV-CNT = 0.
000025 GO TO BATCH-RETURN.
000026
000027 GET-DATE.
000028 CALL 'DEMOGDAT'.
000029
000030 GET-DATE-CONV.
000031 CALL 'DEMOCDAT'.
000032
000033 GET-DATE-EX.
000034 EXIT.
Graph Showing Breakpoint at 000028:
The Visual Debugger view appears when the execution stops at the first breakpoint:
Breakpoint at 000028
Note: The GET-DATE paragraph is shown because statement 000028 CALL 'DEMOGDAT' belongs to this specific paragraph.
Graph Showing Breakpoint at 000034:
At the second breakpoint, the graph view is updated.
Breakpoint at 000034
Note: Generally the positions of the nodes are not determined and can differ every time the graph is redrawn.