Using the Debugger

Top  Previous  Next

 

The Debugging Process

 

The following are the basic steps for debugging an EMUE script using the EMUE debugger. The actual debugging process will vary greatly depending on the script and its complexity.

 

Activate the debugger using one of the methods noted at the beginning of this section.

 

Using the debugger related tabs, evaluate the current state of the CICS screen, variables, call stack, and lists and compare them to the planned/expected behavior of the script.
oView the variable values on the Variables Tab.
oView the contents of lists on the Lists Tab.
oView the script file on the Script Tab.
oView the current line of the input file on the Input File Tab.
oView the call stack on the Call Stack Tab.

 

Use breakpoints and the Step button to step through the script if appropriate.

 

Manually redirect script execution to a new line by:
oRight Clicking on a script line and selecting "Make this current script line".
oHolding Ctrl and clicking a script line
oHolding Ctrl and pressing F11
oHolding Alt and pressing the up or down arrows.
 

Note: Be sure to test the execution of the script from start to finish without any debugger interruptions to insure that it works as expected.

 

Edit the script as appropriate.  Be sure to save the script periodically.

 

To access the help page for a given command, highlight the command in the script and press the F1 key.