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,6ac8f960b3e80ee1,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-04 22:52:31 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!news-peer.gradwell.net!not-for-mail Newsgroups: comp.lang.ada From: porton@ex-code.com (Victor Porton) Date: Wed, 05 Feb 2003 11:51:45 +0500 Organization: Extreme Code Software (http://ex-code.com) Subject: Idea: use JGNAT for memory debugging? Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Content-Type: text/plain; charset=us-ascii X-URL: http://www.ex-code.com/ Message-ID: <3e40b4ae$0$344$bed64819@news.gradwell.net> NNTP-Posting-Date: 05 Feb 2003 06:52:30 GMT NNTP-Posting-Host: 195.149.39.13 X-Trace: 1044427950 news.gradwell.net 344 mail2news/195.149.39.13 X-Complaints-To: news-abuse@gradwell.net Xref: archiver1.google.com comp.lang.ada:33792 Date: 2003-02-05T06:52:30+00:00 List-Id: I have a problem with an Ada program, which is possibly access to a dangling reference (e.g. after Unchecked_Deallocation). Do I guess rightly that JGNAT (as opposed to normal Gnat) will detect this problem for me? Is JGNAT free? In general how to find dereferencing dangling references in Ada? I would use an OO wrapper around accesses which would do reference counting (in debug mode), but living entirely without accesses seems bad.