[Newbies] Re: Making squeak hang

Andy Burnett andy.burnett at knowinnovation.com
Thu Mar 18 16:13:50 UTC 2010


Forget it. I was so focused on doing things with the TextMorph, I completely
forgot to call super initialize.

Cheers
Andy

On Thu, Mar 18, 2010 at 16:02, Andy Burnett <andy.burnett at knowinnovation.com
> wrote:

> Is there something fundamentally wrong with what I am doing, or is this a
> bug?
>
> 1. Set up a new category 'AB-Test'
>
> 2. Subclass RectangleMorph, and add an instance variable 'textReporter'
>
> RectangleMorph subclass: #AbRectangleMorph
> instanceVariableNames: 'textReporterThing'
> classVariableNames: ''
>  poolDictionaries: ''
> category: 'AB-Test'
>
> 3. Create an initialization method in the new class...
>
> initialize
> textReporterThing := TextMorph new.
> textReporterThing := self bounds asString.
>
> 4. Create a new instance and openInWorld
>
> Everything stops responding! I can still close without saving - from the
> menu - but all UI stuff stops.  Pressing Apple . doesn't produce a break.
>
> System is OSX 10.6
> PharoCore1.0rc1
> Latest update: #10505
>
>
> Cheers
> Andy
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20100318/5e65924b/attachment.htm


More information about the Beginners mailing list