[Pharo-dev] doLayoutIn: killing the image

Henrik Johansen henrik.s.johansen at veloxit.no
Thu Aug 15 05:42:14 EDT 2013

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 ;)


More information about the Pharo-dev mailing list