[Pharo-dev] doLayoutIn: killing the image

Stéphane Ducasse stephane.ducasse at inria.fr
Thu Aug 15 06:02:31 EDT 2013


On Aug 15, 2013, at 11:42 AM, Henrik Johansen <henrik.s.johansen at veloxit.no> wrote:

> 
> On Aug 15, 2013, at 10:45 , Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
> 
>> probably that show: invokes somehow doLayoutIn:
>> 
>> Stef
> 
> Yes, when you show something on screen, its layout usually has to be computed first.
> To be on the safe side, never use anything but #haltOnce to debug graphics code, or you WILL end up in infinite loops hanging your image really, really often. 
> Which should also answer your question of why can interrupt the UI process, it's the only foolproof way to debug UI code in a familiar way ;)

;)
I did that. I imagine that I will also try haltIf: and friends.
> 
> Cheers,
> Henry





More information about the Pharo-dev mailing list