-
Simon Sobisch authored
* fixing some URLs and adding some more in (especially to the OPEN VSX Registry) * changed "source build" to come later
Simon Sobisch authored* fixing some URLs and adding some more in (especially to the OPEN VSX Registry) * changed "source build" to come later
COBOLworx COBOL debugger
This extension provides source-level debugging of COBOL programs compiled with the GnuCOBOL COBOL compiler.
July 9, 2020
Bob Dubner
support@cobolworx.com
Basic methodology
COBOL source code is compiled with the GnuCOBOL compiler. Debugging information and a gdb extension are added to the executable by the COBOLworx cbl-gdb routines. The resulting executable can be debugged directly by the GNU Project Debugger gdb
.
That executable can also be debugged on the source-code level with this extension, which provides a VSC Debug Adapter that is aware of the COBOLworx extensions to gdb that makes source-level debugging possible.
Prerequisites - GnuCOBOL
In order to debug a COBOL program, it must first be compiled with an appropriate version of the GnuCOBOL compiler. The compiler must be the 3.1 version or later and build with GCC.
GnuCOBOL installation packages for Ubuntu, RedHat, and Windows can be found at COBOLworx downloads.
Those who prefer to build from source can downloaded the latest version from here. The build sequence starts with ./configure
.
As an alternative you may build from developer source code, which is available in the GnuCOBOL SVN repository. The build sequence starts with ./autogen.sh
, for details see its HACKING
file.
More information can be found at the GnuCOBOL project site.