HP3000-L Archives

October 2001, 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:
"Steve Dirickson (Volt)" <[log in to unmask]>
Reply To:
Steve Dirickson (Volt)
Date:
Fri, 5 Oct 2001 14:46:29 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
1) If you don't have :SETDUMP turned on, do so.
2) You can compile the C program with options to produce a listing containing line-number/address offset information.
3) With the stack trace from :SETDUMP, you should be able to locate the line where the failure is occurring.

Unfortunately, XDB can't be used to debug subprograms (well, it can, but the required self-flagellation makes it effectively impossible), so you'll probably have to do your debugging with printf()s.

If the data used by the failing code is generated within the C program, that's where you'll concentrate your efforts. If the data is passed by the COBOL program, you can build replacement modules that you can substitute for the called C program, modules which can provide expanded information on passed parameters, write data to files, etc.

If you come back with the results of the steps above, we might be able to offer additional suggestions.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2