View previous topic :: View next topic
|
Author |
Message |
arun85
New User
Joined: 09 Oct 2006 Posts: 10
|
|
|
|
Hi,
I am coding COBOL program in NT environment (not in a mainframe).... We use Fujitsu compiler to compile it... But we don't have a proper debugger to debug programs... Could anybody suggest a COBOL debugger (that exists) which can be used to run in NT environment? |
|
Back to top |
|
|
mtaylor
Active User
Joined: 20 Feb 2009 Posts: 108 Location: Kansas City
|
|
|
|
With OpenCobol you can use the gnu gdb debugger. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You could add some diagnostic code to the program and remove/comment it later.
I have used DISPLAY on every compiler i've ever used. . .
Might not be elegant, but always works. . . |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hope this link have a hint and hopefully, I don't breack the Forum rules by giving that link... |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
As Dick mentioned, DISPLAY existed long before other debugging techniques and is still used when appropriate. In addition, the WITH DEBUGGING MODE clause of the SOURCE-COMPUTER paragraph makes it very easy to enable/disable your DISPLAY statements. |
|
Back to top |
|
|
|