help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Re: [bug] Inspect often fails


From: Stephen Woolerton
Subject: Re: [Help-smalltalk] Re: [bug] Inspect often fails
Date: Fri, 06 Mar 2009 12:20:43 +1300
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)


Paolo Bonzini wrote:
I forgot a hunk:


That made a difference :-)

I've recompiled and here is the result... (gst isn't trying to open Blox windows now on the code below, which is good)

$ cat displayclass.st

j := 3.
Transcript showCr: 'before'.
Transcript showCr: j class.
Transcript showCr: 'after'.

$ gst displayclass.st
before
Object: SmallInteger error: did not understand #nextPutAllOn:
MessageNotUnderstood(Exception)>>signal (AnsiExcept.st:216)
SmallInteger class(Object)>>doesNotUnderstand: #nextPutAllOn: (AnsiExcept.st:1556)
FileStream(Stream)>>nextPutAll: (Stream.st:305)
FileStream(Stream)>>nextPutAllFlush: (Stream.st:297)
[] in TextCollector>>primNextPutAll: (Transcript.st:188)
BlockClosure>>on:do: (BlkClosure.st:192)
TextCollector>>primNextPutAll: (Transcript.st:189)
[] in TextCollector>>showCr: (Transcript.st:134)
[] in RecursionLock>>critical: (RecursionLock.st:106)
BlockClosure>>ensure: (BlkClosure.st:269)
[] in RecursionLock>>critical: (RecursionLock.st:107)
[] in Semaphore>>critical: (Semaphore.st:82)
BlockClosure>>ensure: (BlkClosure.st:269)
Semaphore>>critical: (Semaphore.st:83)
RecursionLock>>critical: (RecursionLock.st:104)
TextCollector>>showCr: (Transcript.st:133)
UndefinedObject>>executeStatements (displayclass.st:4)
after
$
$
$
$
$ vi displayclass.st
$ cat displayclass.st

j := 3.
Transcript showCr: 'before'.
Transcript showCr: j inspect.
Transcript showCr: 'after'.

$ gst displayclass.st
before
An instance of SmallInteger
Object: 3 error: did not understand #nextPutAllOn:
MessageNotUnderstood(Exception)>>signal (AnsiExcept.st:216)
SmallInteger(Object)>>doesNotUnderstand: #nextPutAllOn: (AnsiExcept.st:1556)
FileStream(Stream)>>nextPutAll: (Stream.st:305)
FileStream(Stream)>>nextPutAllFlush: (Stream.st:297)
[] in TextCollector>>primNextPutAll: (Transcript.st:188)
BlockClosure>>on:do: (BlkClosure.st:192)
TextCollector>>primNextPutAll: (Transcript.st:189)
[] in TextCollector>>showCr: (Transcript.st:134)
[] in RecursionLock>>critical: (RecursionLock.st:106)
BlockClosure>>ensure: (BlkClosure.st:269)
[] in RecursionLock>>critical: (RecursionLock.st:107)
[] in Semaphore>>critical: (Semaphore.st:82)
BlockClosure>>ensure: (BlkClosure.st:269)
Semaphore>>critical: (Semaphore.st:83)
RecursionLock>>critical: (RecursionLock.st:104)
TextCollector>>showCr: (Transcript.st:133)
UndefinedObject>>executeStatements (displayclass.st:4)
after




reply via email to

[Prev in Thread] Current Thread [Next in Thread]