home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!bcstec!bcsaic!sundry!sdc!cek
- From: cek@sdc.boeing.com (Conrad Kimball)
- Newsgroups: comp.programming
- Subject: Re: When should a debugger be used?
- Message-ID: <6453@fury.BOEING.COM>
- Date: 18 Aug 92 23:44:08 GMT
- References: <j1ymvg=.pdh@netcom.com> <164c9vINNijk@agate.berkeley.edu>
- Sender: news@sdc.boeing.com
- Organization: Boeing Computer Services, Seattle, WA
- Lines: 12
- Nntp-Posting-Host: zulu
-
- |> >4. Divide-and-conquer when things go wrong by adding some output somewhere
- |> > (usually an fprintf() added at a strategic spot).
-
- And what do you do when the problem goes away when you add the fprintf()?
- I've had that happen. A bad pointer leading to trashed memory, and
- inserting more code moves things around so the trashed memory no longer
- causes the program to fail...
-
- --
- Conrad Kimball | Unix Server Tech Services, Boeing Computer Services
- cek@sdc.boeing.com | P.O. Box 24346, MS 7A-35
- (206) 865-6410 | Seattle, WA 98124-0346
-