Find all objects referencing anObject

From Cuis CookBook
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.