AMT Help Files

Generating for debug

Before the debugger can be used to debug, Cobol Programs have to be generated in debug mode. There are two ways to generate in debug mode. The first is checking the 'Generate in public debug' checkbox in the generation set of the application. This option is only available in a generation set when also the 'Generate objects in edit' checkbox is checked (See Generation Sets). The second way is to check the checkbox 'Private debug' in the generate window of the AMT-COBOL Developer Studio before generating.

The relation of the 'Generate in public debug' checkbox in the generation set and the 'Private debug' checkbox in the generator window is as follows:

When both public and user debug versions of an object are available in the debugger, a choice can be made which version of the object will be debugged by selecting Synchronize objects.