NetCOBOL provides debugging aids:
NetCOBOL Studio debugging functions
COBOL Debugger for the Windows system (32 bit applications)
COBOL Debug Functions
The debugging function of NetCOBOL Studio and COBOL Debugger is a full featured, interactive debugger that provides a rich set of functions to help you locate bugs and analyze the behavior of your programs. It works on the executable code, in EXE or DLL format, so you are seeing the same code execute that will be run when the applications are used in production. Working with the executable code also means that mixed language debugging is straightforward. For more information on using the NetCOBOL Studio debugging function , refer to "NetCOBOL Studio User's Guide".
The COBOL debugger products support many common interface features such as the ability to record and play back sequences of debugging operations and a command-line interface.
The COBOL debug functions provide tracing of executed statements and checking of subscripts and modifiers going out of range, as well as the ability to count executed statements. With these functions you can ascertain the exact points at which abnormal termination occurs and prevent errors of programs corrupting memory outside their allotted range.