Find all objects referencing anObject

From Cuis CookBook
Revision as of 23:24, 3 May 2025 by Nmingott (talk | contribs) (importing material)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Problem. You have an object around, you don't understand why it is still there and it does not get garbadge collected. Some other object must reference it. How to find them?

Solution. By example

Smalltalk pointersTo: myFooObject.