home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.arch
- Path: sparky!uunet!uunet.ca!geac!itcyyz!yrloc!rbe
- From: rbe@yrloc.ipsa.reuter.COM (Robert Bernecky)
- Subject: Re: Why would you like a debugger (Was: What would you like in a debugger?
- Message-ID: <1992Aug13.144226.8391@yrloc.ipsa.reuter.COM>
- Reply-To: rbe@yrloc.ipsa.reuter.COM (Robert Bernecky)
- Organization: Snake Island Research Inc, Toronto
- References: <19920809.175600.935@almaden.ibm.com> <343@moene.indiv.nluug.nl> <id.8J9S.1P4@ferranti.com>
- Date: Thu, 13 Aug 92 14:42:26 GMT
- Lines: 34
-
- In article <id.8J9S.1P4@ferranti.com> peter@ferranti.com (Peter da Silva) writes:
- >In article <343@moene.indiv.nluug.nl> toon@moene.indiv.nluug.nl (Toon Moene) writes:
- >> OK, but I only explained why *I* wouldn't use a debugger. Note: here's my
- >> silent assumption: Debuggers are slow: they've a steep learning curve,
- >> load slowly, take their time to reach the breakpoint you think will tell
- >> you what's going wrong (I often watch my colleagues using one - it's so
- >> much fun :-)
- >
- >What, slower than recompiling the program with appropriate printfs?
- >
- >I don't use debuggers often, and if I had a fast enough interactive compiler
- >I wouldn't use them at all, but they're a hell of a lot faster than "make"
- >when you get down to the last bit of troubleshooting.
-
-
- Ah, perhaps I'm missing something here, but I personally do NOT like
- the idea of modifying ANY code in order to debug it. That is, insertion
- of printfs is harmful to maintainability.
-
- It's easy to get in a situation where you THINK you have changed something,
- or maybe you haven't, but you went and had coffee, then the phone rang...
-
- Granted, the ability to make deltas reduces the potential harm here,
- but I MUCH prefer non-intrusive (from the source code modiciation
- standpoint) debuggers.
-
-
-
-
- Robert Bernecky rbe@yrloc.ipsa.reuter.com bernecky@itrchq.itrc.on.ca
- Snake Island Research Inc (416) 368-6944 FAX: (416) 360-4694
- 18 Fifth Street, Ward's Island
- Toronto, Ontario M5J 2B9
- Canada
-