About this task
You can end interactive debug in one of the following ways:
- Use the TRACE OFF instruction as input. The TRACE OFF instruction
ends tracing, as stated in the message at the beginning of interactive
debug:
+++ Interactive trace. TRACE OFF to end debug, ENTER to continue. +++
- Use the TRACE ? instruction as input
The question mark prefix
before a TRACE option can end interactive debug as well as beginning
it. The question mark reverses the previous setting (on or off) for
interactive debug. Thus you can use TRACE ?R within a program to start
interactive debug, and provide input of another TRACE instruction
with ? before the option to end interactive debug but continue
tracing with the specified option.
- Use TRACE with no options as input. If you specify TRACE with
no options in the input stream, this turns off interactive debug but
continues tracing with TRACE Normal in effect. (TRACE Normal traces
only failing commands after execution.)
- Let the program run until it ends. Interactive debug automatically
ends when the program that started tracing ends. You can end the program prematurely
using as input an EXIT instruction. The EXIT instruction ends both
the program and interactive debug.