[squeak-dev] Constantly growing Image file

Chris Muller ma.chris.m at gmail.com
Tue Dec 27 19:50:11 UTC 2022


>
> If the latter is the case, it would be a Heisentool, where the attempt of
>> using it changes that which it is supposed to observe. :-P
>>
>
> Which is why I don't use the pointer explorer when I'm trying to clean all
> instance of a class out.  Instead:
>
>     TheClass allInstances anyOne chasePointers
>
>
> TheClass someInstance ifNotNil: [:obj| obj chasePointers]
>

Ah, I will start using #someInstance, but typing ifNotNil: is a lot more
work than closing a debugger when no more instances.  Besides, wouldn't the
Block Context's var, "obj" be another possible reference
that #chasePointers might pick up on?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20221227/36ce39e5/attachment.html>


More information about the Squeak-dev mailing list