Module Views
Module Views
Module Views
The levels of debug data available may vary for each module in an ILE program or service program. The modules are compiled separately and could be produced with different compilers and options. These debug data levels determine which views are produced by the compiler and which views are displayed by the source debugger. Possible values are:
*NONE : No debug views are produced.
*STMT : No source is displayed by the debugger, but breakpoints can be added using procedure names and statement numbers found on the compiler listing. The amount of debug data stored with this view is the minimum amount of data necessary for debugging.
*SOURCE : The source debugger displays source if the source files used to compile the module are still present on the system.
*LIST : The list view is produced and stored with the module. This allows the source debugger to display source even if the source files used to create the module are not present on the system. This view can be useful as a backup copy if the program will be changed. However, the amount of debug data may be quite large, especially if other files are expanded into the listing. The compiler options used when the modules were created determine whether the includes are expanded. Files that can be expanded include DDS files and include files (such as ILE C includes, ILE RPG /COPY files, and ILE COBOL COPY files).
*ALL : All debug views are produced. As for the list view, the amount of debug data may be very large.
ILE RPG also has a debug option *COPY that produces both a source view and a copy view. The copy view is a debug view that has all the /COPY source members included.