home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.programming
- Path: sparky!uunet!usc!rpi!psinntp!psinntp!svc!news
- From: moose@svcdudes.com
- Subject: Re: When should a debugger be used?
- Message-ID: <1992Aug20.163723.21763@svcdudes.com>
- Sender: news@svcdudes.com
- Reply-To: moose@svcdudes.com
- Organization: Software Ventures, Inc.
- References: <6453@fury.BOEING.COM>
- Distribution: na
- Date: Thu, 20 Aug 92 16:37:23 GMT
- Lines: 19
-
- In article <6453@fury.BOEING.COM> cek@sdc.boeing.com (Conrad Kimball) writes:
- > |> >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...
-
- Don't put in bad pointers in the first place :->.
-
- --
- Michael Rutman | moose@svcdudes.com
- Cubist | makes me a NeXT programmer
- Software Ventures | maker of MicroPhone II
- #include <std.disclaimer>
-
- P.S. It's a joke for the humor impaired.
-