[BUG] '3 + 4' crashes Squeak ...

PhiHo Hoang phiho.hoang at home.com
Fri Oct 5 01:08:42 UTC 2001


Hi Doug,

    Thanks for the tips.

> You could try the #doOnlyOnce: trick that Randal Schwartz mentioned last
week.

    and thanks to you too, Randal.

> Insert this instead into the place where you were putting your halt:
>
>    self doOnlyOnce: [self halt].

    I overlooked this one. I will try it out and let you know.

    Cheers,

    PhiHo.


----- Original Message -----
From: "Doug Way" <dway at riskmetrics.com>
To: <squeak-dev at lists.squeakfoundation.org>; "PhiHo Hoang"
<phiho.hoang at home.com>
Sent: Thursday, October 04, 2001 3:14 PM
Subject: Re: [BUG] '3 + 4' crashes Squeak ...


>
> PhiHo Hoang wrote:
> >
> > Hi,
> >
> >     This still happens with 3.2Alpha4418.
> >
> >     ' ifFalse: [thisContext sender release]. ' is in Process>>terminate.
> >
> >     Where should I put a 'self halt.' to debug this problem ?
> >
> >     I tried to put 'self halt.' at the beginning of Process>>terminate,
as
> > soon as the change is accepted, I get a bunch of 'Halt' walkbacks one on
top
> > of the others.
>
> You could try the #doOnlyOnce: trick that Randal Schwartz mentioned last
week.
>
> Insert this instead into the place where you were putting your halt:
>
>    self doOnlyOnce: [self halt].
>
> See ProtoObject>>doOnlyOnce: for more details.  (By the way, it seems like
this method doesn't really need to be all the way up in ProtoObject, since
it's just a utility method which doesn't refer to self.  Maybe Object would
suffice?)
>
> - Doug Way
>   dway at riskmetrics.com
>
>
>





More information about the Squeak-dev mailing list