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