scsh-users
[Top] [All Lists]

Re: 0.3: debugging hosed?

To: shivers@mintaka.lcs.mit.edu
Subject: Re: 0.3: debugging hosed?
From: "Michael Sperber [Mr. Preprocessor]" <sperber@informatik.uni-tuebingen.de>
Date: Tue, 28 Mar 1995 10:08:52 +0200
Cc: scsh-bugs@martigny.ai.mit.edu
>>>>> "Olin" == Olin Shivers <shivers@clark.lcs.mit.edu> writes:


Olin> I couldn't reproduce your problem. ???
Olin>     -Olin

>> (car "Makefile")

Olin> Warning: argument type error
Olin>          (car "Makefile")
Olin>          (procedure wants: (:pair))
Olin>          (arguments are: (:string))

Olin> Error: exception
Olin>        (car "Makefile")
1> ,preview
Olin>   unnamed (id 35)
Olin>   evaluate-and-select
Olin>   unnamed (id 492)
Olin>   unnamed (id 491)
Olin>   showing-focus-object
Olin>   loop
Olin>   start-command-processor
1> 

Coming to try out trivial examples, I can't either :-)

It happens quite often in the middle of trying out more complex shell
script.

The simplest way of reproducing from a clean scsh is this:

Scsh 0.3
> (define (f x) (if (zero? x) (car 'x) (* x (f (- x 1)))))

Warning: argument type error
         (car 'x)
         (procedure wants: (:pair))
         (arguments are: (:symbol))
> (f 1000000000)
^C
Interrupt: keyboard
1> ,preview

Error: undefined variable
       #{Location 5001}

... works for me every single time.  (BTW: Scheme 48 0.39 does not
have that problem.  I don't recall ever having seen it with 0.36.)

Cheers =8-} Chipsy

<Prev in Thread] Current Thread [Next in Thread>