[e-lang] Idea: SturdyRef debug printing
kpreid at attglobal.net
Sat Jul 17 18:29:41 EDT 2004
Make SturdyRefs, if their referents are NEAR, print them:
<SturdyRef to <counter>>
This would be useful for debugging, and it would not reveal any
information not already available to holders of the SturdyRef.
Edge case: if an object which has a private reference to a SturdyRef
uses that SturdyRef in its __printOn, then the print of the referent of
the SturdyRef will be revealed where it would not before. I don't know
if this would be a problem.
Kevin Reid <http://homepage.mac.com/kpreid/>
More information about the e-lang