Debugger shows message from class that isn't the receiver's
Henrik Gedenryd
Henrik.Gedenryd at lucs.lu.se
Mon Apr 30 11:21:49 UTC 2001
Andrew P. Black wrote:
> This is not a method from PasteUpMorph at all. It's a method from
> ObjectOut, which is why it is reasonable for it to be sending
> xxxInstVarAt: to self. But self is my PastUpMorph, hence the MNU.
>
> So, what's going on here? Perhaps my PasteUpMorph has become an
> ObjectOut and then become a PasteUpMorph again? If so, why is it
> trying to store itself on the disk? Was it reconstituted a bit too
> soon? Here be deep magic! All that I wanted to do was load some
> images ...
I think you have uncovered some of the dark magic in this code, where some
things are not what they seem (I know it involves a trick application of the
garbage collector as well), but an explanation would probably require a word
from the author of the objects-to-disk functionality...
Henrik
More information about the Squeak-dev
mailing list
|