[e-lang] Idea: SturdyRef debug printing
Kevin Reid
kpreid at attglobal.net
Sat Jul 17 18:29:41 EDT 2004
Idea:
Make SturdyRefs, if their referents are NEAR, print them:
<SturdyRef to <counter>>
instead of
<SturdyRef>
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
mailing list