help / color / mirror / Atom feed
From: Emmanuel Briot <>
Subject: Re: pragmas in doubly linked lists
Date: Sun, 12 Feb 2023 23:43:08 -0800 (PST)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Monday, February 13, 2023 at 8:40:25 AM UTC+1, Mario Blunk wrote:
> Thanks for your reply. All the cursors in my scenario are still valid. As far as I understood from John Barnes book Ada 2005, a cursor identifies the container and the item. In my case both the items and the containers still exist. So I assumed that collecting cursors in a list should work.

Fair enough,
The next things I would try (I am on linux, not sure what works on other platforms) are:
    - valgrind to detect invalid memory access (that will immediately which cursor, if any, is accessing free memory and where that memory was freed)
    - address sanitiser (asan) which does the same but so much faster.  That requires recompiling your executable with `-fsanitizer=address` though

  reply	other threads:[~2023-02-13  7:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-26 18:25 pragmas in doubly linked lists L. B.
2023-01-27 16:16 ` Niklas Holsti
2023-02-11  8:13   ` Mario Blunk
2023-02-13  7:22     ` Emmanuel Briot
2023-02-13  7:40       ` Mario Blunk
2023-02-13  7:43         ` Emmanuel Briot [this message]
2023-03-29 16:46           ` Mario Blunk
2023-04-19  7:17             ` Mario Blunk
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox