Transcript contents is empty?
bert at freudenbergs.de
Fri Oct 19 21:00:58 UTC 2007
> From: johnmci at smalltalkconsulting.com
> Date: Fri, 19 Oct 2007 21:26:16
> To:squeak-dev at lists.squeakfoundation.org, frank.urbach at schmees.com
> Subject: Transcript contents is empty?
> In Sophie I was going to grab the contents of the Transcript and
> write that to our error server.
> However I find that
> Transcript show: 'foo'.
> Transcript contents size = 0 ifTrue: [self halt].
> Obviously I would have *thought* that asking for Transcript contents
> would have returned what is on the Transcript.
> But it doesn't.
> So I'm wondering if this is a bug or feature?
Feature. You need to add a dependent to Transcript and log stuff on
"updated: #appendEntry" sends (IIRC).
- Bert -
More information about the Squeak-dev