Overview of Debugging Applications

Note: Certain features described in this section only apply to native COBOL.

Your COBOL development system provides a debugging environment, which is sensitive to COBOL and includes all the usual features such as stepping, watch windows and breakpoints.

When you debug an application, the source code of each program is displayed in a separate window. Each line of the source is highlighted in turn as each statement is executed, showing the effect of each statement. You can execute the program at full speed and can interrupt execution to examine and change data items.

The features available while debugging include:

There are a number of ways to debug code, such as compiling the source yourself first or letting it happen automatically or making available the necessary files created during an earlier compilation. For example you can:

You control the way debugging works by setting options on the Debug page of the project's properties and in the option pages which you can access from Debug > Options and Settings > Debugging.