🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13397

Re: Can one use CodeProbe to debug libraries?

#13397
From: Bruce Dawson
Date: Sun, 07 Jan 1990 19:48
13 lines
1088 bytes
     I assume you mean libraries of the the .library type, ie; run time
libraries such as diskfont.library.  I wrote a run time library (req.library,
contains file requester, colour requester etc.) and found that the easiest way
to debug it was to link it in with the test program.  This guarantees that I
can use any debugger (sdb, cpr, metascope) to debug it with full symbolic
information.  This also avoids the annoying problem that everyone gets bitten
by at least once of not purging the library from memory and therefore testing
the previous version.  Disadvantages?  Very few.  You do you have to recompile
or relink your test program before trying with the real library, but that's
about it.

.bruce.
Technical Details
Message-ID: <907@mindlink.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!uunet!van-bc!rsoft!mindlink!a464

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!uunet!van-bc!rsoft!mindlink!a464
From: a464@mindlink.UUCP (Bruce Dawson)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Can one use CodeProbe to debug libraries?
Message-ID: <907@mindlink.UUCP>
Date: 7 Jan 90 19:48:44 GMT
Organization: MIND LINK! - British Columbia, Canada
Lines: 13