[prev in list] [next in list] [prev in thread] [next in thread] 

List:       e-lang
Subject:    [e-lang] Idea: SturdyRef debug printing
From:       Kevin Reid <kpreid () attglobal ! net>
Date:       2004-07-17 22:29:41
Message-ID: CB9BD068-D840-11D8-9C90-000A959E467A () attglobal ! net
[Download RAW message or body]

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/>

_______________________________________________
e-lang mailing list
e-lang@mail.eros-os.org
http://www.eros-os.org/mailman/listinfo/e-lang
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic