[squeak-dev] Re: Red box Re: All Clear (and Monticello issues)
David Farber
dfarber at numenor.com
Tue Sep 1 16:11:11 UTC 2009
Thanks!
David
On Aug 31, 2009, at 7:53 PM, Andreas Raab wrote:
> David Farber wrote:
>> Edgar, thanks for the picture. It reminded me of a question I've
>> been wanting to ask for while. Does anyone know how revive a
>> morph after an error leaves it with the redbox and yellow x? Last
>> time this happened to me, I couldn't even locate the code
>> responsible for handling this error state and drawing the redbox
>> with yellow x
>
> Look at the senders of #errorOnDraw to find the places that deal
> with it. The short version is that the system catches errors in
> drawOn: methods and then walks the stack trying to turn off drawing
> for the morph in question. You can re-enable drawing by getting the
> handles on the crossed-out morph, and from the debug halo choose
> "start drawing again".
>
> Cheers,
> - Andreas
>
More information about the Squeak-dev
mailing list
|