home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / arch / 8886 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  2.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!uka!uka!news
  2. From: S_JUFFA@iravcl.ira.uka.de (|S| Norbert Juffa)
  3. Newsgroups: comp.arch
  4. Subject: Re: Debugging feats (was Re: Why would you like a debugger (
  5. Date: 13 Aug 1992 18:16:23 GMT
  6. Organization: University of Karlsruhe (FRG) - Informatik Rechnerabt.
  7. Lines: 31
  8. Distribution: world
  9. Message-ID: <16e8tnINNm3j@iraul1.ira.uka.de>
  10. References: <1241@esl.ESL.COM> <1992Aug12.165324.27749@bcars64a.bnr.ca>
  11. NNTP-Posting-Host: irav1.ira.uka.de
  12. X-News-Reader: VMS NEWS 1.23
  13. In-Reply-To: schow@bqneh3.bnr.ca's message of 12 Aug 92 16:53:24 GMT
  14.  
  15. In <1992Aug12.165324.27749@bcars64a.bnr.ca> schow@bqneh3.bnr.ca writes:
  16.  
  17.  
  18. > Not to deny Knuth's ability, but it is also possible that he has seen so
  19. > many people make the same mistake over and over that he can pick out the
  20. > bug by doing local pattern matching. I know that when I was "student
  21. > advisor" in the computer room, I used to amaze students by picking out
  22. > their bugs before they can even tell me the symtoms. (I don't think I was
  23. > unique at all).  Not knowing anything about WEB or the program in question,
  24. > this is mere speculation.
  25. >
  26. Having also been a "student advisor" (in Germany we call them "tutor") in the
  27. computer room some time back, I would support Stanley's opinion. I, too, would
  28. occasionally amaze students by picking out there bugs as soon as I saw their
  29. code. I am pretty much sure that after doing a lot of debugging work, you find
  30. a lot of bugs by a kind of pattern matching. Plus you know where to look for
  31. the most common errors: uninitialized pointer? function side effects due to use
  32. of global veriables? procedure entry and exit code? stack corruption
  33. (unbalanced PUSH and POP)? (the last two apply especially to assembly language 
  34. programming. Taking into consideration that Prof. Knuth has 30 years of
  35. programming experience while I have only 10 years, I find it very well possible
  36. that he finds bugs just by flipping thru a printout.
  37. > --
  38. > Stanley Chow            InterNet: schow@BNR.CA
  39. > Bell Northern Research  UUCP:     ..!uunet!bnrgate!bqneh3!schow
  40. > (613) 763-2831
  41. > Me? Represent other people? Don't make them laugh so hard.
  42.  
  43. Norbert
  44. -------------------------------------------------------------------------------
  45. Norbert Juffa       email:S_JUFFA@IRAVCL.IRA.UKA.DE         Live and let live!
  46.