Product Site

15.1. Interactive Debugging of Programs

The debug facility permits interactively controlled execution of a program. Adding the prefix character ? to the TRACE instruction, the TRACE function, or TRACE keyword of the ::OPTIONS directive. For example, TRACE ?I, TRACE(?I), or ::OPTIONS TRACE ?I turns on interactive debugging and indicates to the user that interactive debugging is active. Further TRACE instructions in the program are ignored, and the language processor pauses after nearly all instructions that are traced at the console (see Section 15.2, “Debugging Aids” for the exceptions). When the language processor pauses, the following debug actions are available:

Interactive debug is turned off in either of the following cases: