home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.programming
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!thinkage!atbowler
- From: atbowler@thinkage.on.ca (Alan Bowler)
- Subject: Re: When should a debugger be used?
- Message-ID: <1992Aug12.233904.11067@thinkage.on.ca>
- Organization: /etc/organization
- References: <j1ymvg=.pdh@netcom.com> <164c9vINNijk@agate.berkeley.edu>
- Date: Wed, 12 Aug 1992 23:39:04 GMT
- Lines: 24
-
- If I have a debugger available I will try it first before I go the
- "add debugging printf and recompile" route. I will even go to some
- effort to maintain a "simulated" environment where I can run a debugger
- if I don't have a debugger in the actual target environment.
-
- I prefer to use a debuggers.
-
- However, I am intrigued by the following statement.
-
- In article <164c9vINNijk@agate.berkeley.edu> lippin@math.berkeley.edu writes:
- >
- >Some bugs (e.g., memory leaks) are very nearly intractable without
- >debugging tools, simply because they show few visible symptoms in
- >ordinary test conditions.
- >
-
- Memory leaks are one of the areas where I have found debuggers to be
- very little use. I do use it to examine the free memory list, and say
- to myself "this look suspiciously large", but that just tells me there
- MIGHT be a leak. Finding the actual is has always been more of
- an analysis problem.
-
- What features are in your debuggers that allow you to tract memory
- leaks?
-