home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / arch / 8919 < prev    next >
Encoding:
Text File  |  1992-08-15  |  1.7 KB  |  42 lines

  1. Newsgroups: comp.arch
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!smurf.sub.org!flatlin!bad
  3. From: bad@flatlin.ka.sub.org (Christoph Badura)
  4. Subject: Re: Why would you like a debugger (Was: What would you like in a debugger?
  5. Organization: Guru Systems/Funware Department
  6. Date: Sun, 16 Aug 1992 00:25:24 GMT
  7. Message-ID: <Bt1vuE.I1n@flatlin.ka.sub.org>
  8. References: <1992Aug7.151937.14321@linus.mitre.org> <341@moene.indiv.nluug.nl> <19920809.175600.935@almaden.ibm.com> <1241@esl.ESL.COM>
  9. Lines: 31
  10.  
  11. In <1241@esl.ESL.COM> davida@barney.esl.com (David Alexander) writes:
  12. > Then we had our weekly meeting, and as we're talking, Prof. Knuth
  13. >is flipping through my WEB source which he had never been shown before, and
  14.                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  15. That may very well be the explanation.
  16.  
  17. >about 40 pages into the listing, in the middle of our discussion, he says,
  18. >"By the way, here's your NIL pointer error..."  Of course he was correct.
  19.  
  20. One of the problems in debugging your own programs is that you *know*
  21. what the program text looks like. I once spent three days chasing the
  22. following bug:
  23.  
  24. for i := left to right do;
  25.     something_or_other;
  26.  
  27. For three days I didn't see the semicolon after the do, I knew there
  28. wasn't one.
  29.  
  30. The previous two times I used a debugger, I was tracking down compiler
  31. errors.
  32.  
  33. Since the I haven't found debuggers to be very useful. Many were
  34. inadequate for the problem (conditional breakpoints are a *must*),
  35. they don't give you a clue as to where you are in the source (adb).
  36. Some were to buggy to be useful (sdb comes to mind). I am pleased with
  37. gdb, though.
  38. -- 
  39.                 Christoph Badura  ---  bad@flatlin.ka.sub.org
  40.  
  41. ISO? Nicht immer, aber immer M-vfter.
  42.