Chapter 4. Introducing Debug Tool and Debug Tool Utilities & Advanced Functions 71
Result: Debug Tool will execute five statements, one statement at a time.
4.1.8 Other useful commands
This section identifies some other commands that may be useful when debugging.
SET AUTOMONITOR (COBOL and PL/I)
Automonitor support automatically displays the variables referenced in the current statement
and is available only when Debug Tool Utilities and Advanced Functions is installed. To use
this feature, the user must enable automonitoring with the following command:
SET AUTOMONITOR ON ;
Refer to Debug Tool for z/OS Reference and Messages, SC18-9304, for more information
about specific supported compilers and required PTFs.
GO BYPASS
The GO BYPASS command instructs Debug Tool to resume running the program after a
condition occurred, hereby ignoring the condition.
PLAYBACK (COBOL)
Playback support allows you to replay and review the application paths and data values
starting at the point where you began recording. You can simulate the backward execution of
the application and review application data values using appropriate Debug Tool commands.
To do this, playback must be enabled using the following Debug Tool command:
PLAYBACK ENABLE ;
This command starts playback recording. To view the recorded material, use the following
commands:
򐂰 PLAYBACK START ;
Replay the statements starting at the current statement.
򐂰 STEP ; (or PF2)
Move backward one statement.
򐂰 PLAYBACK FORWARD; PLAYBACK BACKWARD ;
Change the replay direction. STEP will move in the direction last set.
򐂰 PLAYBACK STOP ;
Return to the point where the playback was started (using PLAYBACK START).
򐂰 PLAYBACK DISABLE ;
Stop recording.
This command is available only with Debug Tool Utilities and Advanced Functions.
WINDOW CLOSE/OPEN/SIZE/ZOOM
This command closes, opens, resizes, or toggles between the full screen and the currently
defined size of Debug Tool full-screen mode Log, Monitor, and Source windows. The affected
window is defined by the cursor position or can be added as a next parameter in the
command itself.

Get Supporting On Demand Business Applications with the IBM Problem Determination Tools (APA, DT, DT with Advanced Facilities, FA, File Export, FM, WS) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.