Microsoft KB Archive/34084

Version 3.0 Supports CodeView with EANIM Directive

PSS ID Number: Q34084 Article last modified on 04-21-1993

3.00 | 3.00 MS-DOS | OS/2

Summary: The EANIM directive enables source-level debugging of Microsoft COBOL Version 3.0 programs with Microsoft CodeView. For CodeView support with Microsoft COBOL Version 3.0, proceed as follows: COBOL filename,,filename.LST /ANIM /NOFORM /NOCONFIRM /COPYLIST /EANIM /SOURCE-EXT(LST) LINK filename /CO; CV filename In CodeView, you will see your source-listing file. This file will be used in debugging, the same as in a C or MASM program. A few functions are implemented in such a way that great care is needed when debugging with CodeView. You should avoid these areas for now if you want to use CodeView. These areas include the following: Subscript bound checking (Compile with /NOBOUND) Overlays (Compile with /NOSEG) GO TO DEPENDING (Do not single step this instruction) CodeView support is in addition to the SYMDEB and CodeSmith support, which are supported using the LINK /M/LI options (which place the line-number information into the .MAP file).

More Information: The following is an explanation of the COBOL Version 3.0 compiler directives used in the previous example:

NOTE: CodeView is unable to display COBOL Data types.

Additional reference words: 3.00 Copyright Microsoft Corporation 1993.