home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / scheme / 2139 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.6 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!ai-lab!zurich.ai.mit.edu!jinx
  2. From: jinx@zurich.ai.mit.edu (Guillermo J. Rozas)
  3. Newsgroups: comp.lang.scheme
  4. Subject: Re: wots going on here!?
  5. Message-ID: <JINX.92Sep1211605@rolex.ai.mit.edu>
  6. Date: 2 Sep 92 01:16:05 GMT
  7. References: <17timvINN7b8@agate.berkeley.edu> <17tn1uINNkij@early-bird.think.com>
  8.     <JINX.92Aug31170432@chamarti.ai.mit.edu>
  9.     <17ur1oINNem6@agate.berkeley.edu>
  10.     <JINX.92Sep1033012@chamarti.ai.mit.edu>
  11.     <SOMMERFELD.92Sep1131757@gourmet.apollo.hp.com>
  12. Sender: news@ai.mit.edu
  13. Reply-To: jinx@zurich.ai.mit.edu
  14. Organization: M.I.T. Artificial Intelligence Lab.
  15. Lines: 23
  16. In-reply-to: sommerfeld@apollo.hp.com's message of 1 Sep 92 17:17:01 GMT
  17.  
  18. In article <SOMMERFELD.92Sep1131757@gourmet.apollo.hp.com> sommerfeld@apollo.hp.com (Bill Sommerfeld) writes:
  19.  
  20. |   How about
  21. |
  22. |   "#[unspecified IF alternative at line xxx character yyy of source file zzz.scm]"
  23. |
  24. |   or some other such reference back to the source code which would point
  25. |   the beginner right at the bug.
  26. |
  27. |   These could be generated *once* when reading in the source.
  28. |
  29.  
  30. That's a nice idea, but I don't like line or character positions, and
  31. they don't generalize very well to expressions typed at top-level,
  32. generated by macro expansion, or given to EVAL as arguments.
  33.  
  34. It also means that the code (and system) grows because of all such
  35. objects to be tracked, so I don't think it would be desirable in
  36. practice.
  37.  
  38. Given that the debugger can usually provide this information without
  39. much effort, it hardly seems worthwhile for "regular" users, but is
  40. probably something worth considering for novices.
  41.