2015-12-09 15:47 GMT+01:00 Ferlicot D. Cyril <cyril.ferlicot@gmail.com>:
Le 09/12/2015 15:18, Nicolai Hess a ��crit :
>
>
> I thnk the Transcript scroller uses a TransformMorph as well.
>


I tried 4-5 other methods without a transcript to see if the same thing
happen without it but each time the image crash immediately���
I tried to print in stdout, in rubric, to use #inform:, to write in a
file��� Nothing works, I get an emergency evaluator all the time.

you can:
- create a "global" morph for logging:
(Smalltalk at:#testLabel put:StringMorph new) openInWorld.

- and in TransformMorph>>layoutChanged
put
(Smalltalk at:#testLabel) contents:(DateAndTime now asString).

Now, every time the layoutChanged method is called, the string morph will show the current time stamp.
(You can extent this ,by for example, use a nother "global var" for counting the calls)

��

--
Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France