HP3000-L Archives

June 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Tue, 1 Jun 1999 01:16:10 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
Gawd, I've been debugging cobol this way since the early 80's, thought I
was the only one left alive that knew how.

the debugging clause goes on the source-computer statment.
and you have to run the compiled program with parm=1 to enable the cobol
debugger.



Tom wrote:
>
> You can also use COBOL's Debug module.
>
> It's either SOURCE COMPUTER. HP3000 WITH DEBUGGING MODE.
>
> or it's OBJECT COMPUTER. HP3000 WITH DEBUGGING MODE.
>
> Then, enter a debugging section. If you include a 'D' in column 7 of all
> debugging lines, then taking the WITH clause out will cause the 'D' to
> be interpreted as '*'.
>
> DEBUG SECTION.
>   USE FOR DEBUGGING ON ALL PROCEDURES.
> DEBUG-PARA.
>   MOVE ....
>   DISPLAY DEBUG-LINE.
>
> DEBUG-LINE is predefined and includes fields telling what para name was
> crossed and how it was reached (Fall-thru, Perform,).

ATOM RSS1 RSS2