[ENH] PointerExplorer

denker at iam.unibe.ch denker at iam.unibe.ch
Thu Sep 30 15:08:19 UTC 2004


from preamble:

"Change Set:		PointerExplorer
Date:			29 September 2004
Author:			avi

md: repackaged as a changeset.

A variant on the ObjectExlorer that works 'backwards': like the
ObjectExplorer, it shows a tree of objects, but expanding a node won't
show the objects which that node references, but rather the objects that
reference that node.  Its main use is to track down memory leaks: if you
want to know why a particular object is still alive, open a
PointerExplorer on it and drill down until you find the root object
that's referencing it.  For example, find all the references to the
symbol #zot with:

PointerExplorer new openExplorerFor: #zot

For the 'name' of the object, the PointerExplorer shows each object's
identityHash, to allow the user to identify when two similar objects are
identical and notice cycles."!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PointerExplorer.cs.gz
Type: application/octet-stream
Size: 1522 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040930/06dad60d/PointerExplorer.cs.obj


More information about the Squeak-dev mailing list