Backward tracing while debugging
While debugging COBOL files, you can trace execution in reverse. Backward tracing is only available for CICS, BATCH, and IMS for COBOL programs.
To enable the backward tracing
- Start a COBOL program debug session. You see the monitor icon when the debug session is initiated.
- Click the monitor icon (
). Select any one of the following options.
- Turn On Monitoring for the Active Program: Activates monitoring for the current program.
- Turn On Monitoring for All Programs: Activates monitoring for all open programs.
When you trigger the next debug event, you see two new icons.
(Review Step Backward): Moves the debugger cursor one step back in the execution history.
(Review Continue Backward): Moves the cursor back to the last breakpoint encountered.
When you start backward debugging, you see the Exit Review Mode icon (). Click
to return the debugger cursor to the starting point of the reverse trace.
If you want to stop monitoring then click. This also hides the monitoring controls.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*