From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,836e7962fed7281b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-22 17:31:19 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!green.octanews.net!news-out.octanews.net!cox.net!news-xfer.cox.net!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!wn53feed!worldnet.att.net!attbi_s54.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: debugging tool? References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 67.161.24.134 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s54 1077499878 67.161.24.134 (Mon, 23 Feb 2004 01:31:18 GMT) NNTP-Posting-Date: Mon, 23 Feb 2004 01:31:18 GMT Organization: Comcast Online Date: Mon, 23 Feb 2004 01:31:18 GMT Xref: archiver1.google.com comp.lang.ada:5741 Date: 2004-02-23T01:31:18+00:00 List-Id: > Right. So put in a flag Object.Finalized, and check Object.Finalized Oops, I knew I needed a cup of coffee. Clearly that flag can't go in Main_Object_Type because there is, in general, no way Finalize(Helper) could know about all the Main_Object_Type's around and set their flags. And it can't go in Helper_Object_Type unless you are willing to check it by accessing Helper from Finalize(Main_Object_Type) after Helper has been finalized. So maybe the question becomes: is it safe to access simple things like booleans after they've been finalized/de-elaborated?