comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: DebugBreak() in Ada
Date: Tue, 25 Apr 2023 18:22:35 +0100	[thread overview]
Message-ID: <ly5y9j98ro.fsf@pushface.org> (raw)
In-Reply-To: kapuceFoq8mU1@mid.individual.net

Niklas Holsti <niklas.holsti@tidorum.invalid> writes:

> It is not a fully automatic method, but you could write a null Ada
> procedure DebugBreak and set a breakpoint in that procedure, manually
> from gdb, before starting the program. Then every call to DebugBreak
> will break, and you can look one level down in the call chain to see
> the state at the point of call.

Great idea!

  parent reply	other threads:[~2023-04-25 17:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-25 11:18 DebugBreak() in Ada Petter
2023-04-25 12:11 ` Niklas Holsti
2023-04-25 15:21   ` Petter
2023-04-25 17:22   ` Simon Wright [this message]
2023-04-25 17:20 ` Simon Wright
replies disabled

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