The Action Diagram Trace panel lets you trace the logic of your application at runtime. The Debug Trace Facility shows the action diagram for the procedure step or action block executing. The panel displays only if the procedure step or action block was generated with debug support.
-------------------------- APPLICATION DEVELOPMENT ------------- ENTER OPTION MENU Action Diagram Trace COMMAND===> SCROLL===> HALF Action Block Name At Stmt # -------------------------------- --------- MENU DIALOG MGR ENTERING===> ABBIL1 35 ABBIL2 47
As your application executes, the corresponding action diagram statements are highlighted on the panel. The Debug Trace Facility highlights the statement about to be executed and pauses. Press Enter to continue the execution.
The Action Diagram Trace panel supports the following commands to navigate in the action diagram:
Displays the online help
Accepts an M parameter, or number of lines
Accepts an M parameter, or number of lines
Accepts the statement number as a parameter
Accepts a string or enclosed in single quotes, as in 'string'
Repeats the previously requested FIND command.
Bypasses executing the highlighted statement.
Immediately returns the currently executing action block to the program that called it.
Toggles the trace ON or OFF <UNTIL <GT|GE> stmt no>
When TRACE is OFF, the action diagram trace panel for this action diagram is not displayed. To resume the action diagram display, specify TRACE ON from an Action Block Call Trace Panel.
You can turn off trace until you reach a specific statement in the action diagram using the Trace Off Until Statement_number command. For example, to turn the trace off until you reach the statement number 12, use the command:
TRACE OFF UNTIL 12
To turn off trace until you reach at least statement number 15, use the command:
T OFF U GE 15
This command is useful to turn off trace, perhaps during a READ EACH, but you are not certain that statement 15 is executed. The tracing resumes on the next statement number that is 15 or greater.
Use the following commands to control the panel appearance of the panel.
Accepts the parameters REVERSE, BLINK, NORMAL, UNDERLINE
Highlights the statement about to execute as blinking, reverse video, underlined, or normal.
Default: reverse video.
RED, BLUE, GREEN, WHITE, TURQ, PINK, YELLOW
Controls the color of the highlighted statement.
RED, BLUE, GREEN, WHITE, TURQ, PINK, YELLOW
Controls the color of all statements other than the highlighted statement.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|