[squeak-dev] How can I count redraws of SystemWindows?
stephane ducasse
stephane.ducasse at free.fr
Sun May 4 14:32:10 UTC 2008
Thanks Dave
I was more thinking that if people read my next chapter and try the
code then Transcript show...
may break the results displayed.
Now I would love to see really integrate a stdout so that we could get
Squeak headless
and using it as a "scripting" language. Right now on each platform we
have to use a plugin
which is not working the same or not available on the platform.
Is there any chance that we would get
Output nextPut: 'zork'
Stef
On May 4, 2008, at 3:35 PM, David T. Lewis wrote:
> On Sun, May 04, 2008 at 10:16:48AM +0200, stephane ducasse wrote:
>> Thanks
>> I was also thinking that having a thread safe transcript would be
>> good
>> for people trying some
>> concurrent snippets.
>>
>> Stef
>
> If you happen to be using a Unix or Mac VM, this is a more reliable
> way to
> do it, see class OSProcess:
>
> debugMessage: aString
> "Print aString on standard output. The debug message is prefixed
> with the
> identity of the process in which the method is being evaluated, and
> the
> identity of the object which received the message. Useful for
> debugging
> timing or deadlock problems."
>
> It would work on Windows too (prints to a Windows console), but I
> have not updated
> the plugin in a long time, sorry.
>
> You can also just write to a file stream, or to a file stream on /
> dev/tty.
>
> - Dave
>
>
>
More information about the Squeak-dev
mailing list
|