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

  1. Path: sparky!uunet!stanford.edu!agate!anarres.CS.Berkeley.EDU!bh
  2. From: bh@anarres.CS.Berkeley.EDU (Brian Harvey)
  3. Newsgroups: comp.lang.scheme
  4. Subject: Re: wots going on here!?
  5. Date: 31 Aug 1992 16:51:43 GMT
  6. Organization: University of California at Berkeley
  7. Lines: 36
  8. Message-ID: <17timvINN7b8@agate.berkeley.edu>
  9. References: <1187.9208311520@subnode.aiai.ed.ac.uk>
  10. NNTP-Posting-Host: anarres.cs.berkeley.edu
  11.  
  12. jeff@aiai.edinburgh.ac.UK (Jeff Dalton) writes:
  13. >However, I think it's important for the break look (debugger) to be
  14. >as much like the top level as possible.  In particular, it should
  15. >work to type expressions in the usual way.  Popping back one level
  16. >should be easy, such as typing a single character.
  17.  
  18. I think the last two sentences of that paragraph contradict each other.
  19. Either the debugging language is Scheme, or it's something else.  If
  20. it's Scheme, there aren't any "hot key" characters.  If it isn't Scheme,
  21. then it's another language you have to learn, at the same time that you're
  22. having enough trouble learning Scheme.
  23.  
  24. My experience as a teacher is that it's really hard to enable students
  25. to think about Scheme intellectual issues for the first week or two,
  26. because they have to learn *so many* languages:
  27.  
  28.     - Scheme
  29.     - EMACS
  30.     - shell
  31.     - Annex terminal concentrator
  32.  
  33. Perhaps with all that baggage to deal with it's foolish for me to draw
  34. the line at adding "Scheme debugger" to the list.  But I still think
  35. that one's worse than the others because it's part of the same context.
  36. I mean, you have to ASK to get from the shell to Scheme, and vice versa.
  37. But finding yourself in the debugger is something that happens to you.
  38.  
  39. Certainly there should be plenty of advanced debugging capabilities
  40. available for advanced users.  But it should be possible to turn them
  41. off!  I won't even argue about what the default should be, as long as
  42. I can provide my students with a startup file that turns off the debugger.
  43.  
  44. P.S.  Yes of course if an error happens inside a procedure you should be
  45. told its name.  My example was too simple, I guess.  What Logo does on
  46. an error is tell you the error, the procedure in which it happened, and
  47. the line of the procedure definition that contains the error.
  48.