Debug Environment
Debug Environment
A program can be debugged in either of the two environments:
- The OPM debug environment. All OPM programs are debugged in this environment unless the OPM programs are explicitly added to the ILE debug environment.
- The ILE debug environment. All ILE programs are debugged in this
environment. In addition, an OPM program is debugged in this environment
if all of the following criteria are met:
- It is a CL, COBOL or RPG program.
- It is compiled with OPM source debug data.
- The OPMSRC (OPM source level debug) parameter of the STRDBG command is set to *YES.
The ILE debug environment provides source level debug support. The debug capability comes directly from statement, source, or list views of the code.
Once an OPM program is in the ILE debug environment, the system will provide seamless debugging of both the ILE and OPM programs through the same user interface. For information on how to use the source debugger for OPM programs in the ILE debug environment, see online help or the programmer’s guide for the equivalent ILE high-level language (HLL) you are using for the OPM language: CL, COBOL, or RPG.