You can debug your ILE programs by using the ILE source debugger.
This topic describes how to:
While debugging and testing your programs, ensure that your library list is changed to direct the programs to a test library containing test data so that any existing real data is not affected.
You can prevent database files in production libraries from being modified unintentionally by using one of the following commands:
The ILE source debugger is used to detect errors in and eliminate errors from program objects and service programs. You can use the source debugger to:
When a program stops because of a breakpoint or a step command, the applicable module object's view is shown on the display at the point where the program stopped. At this point you can enter more debug commands.
Before you can use the source debugger, you must use the debug options parameter (DBGVIEW) when you create a module object or program object using Create CL Module (CRTCLMOD) or Create Bound CL (CRTBNDCL). After you set the breakpoints or other ILE source debugger options, you can call the program.