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:20:20 +0100	[thread overview]
Message-ID: <lycz3r98vf.fsf@pushface.org> (raw)
In-Reply-To: 74eb5c78-2212-48d8-beae-40b2b3ea6e69n@googlegroups.com

Petter <petter_fryklund@hotmail.com> writes:

> I used some way to cause a DebugBreak() (programmatically causeng a
> break command in gdb) some 10 years ago. Now I can't find it. Perhaps
> one could raise int3? But I can't find how to either.

I just googled debugbreak and the third hit was this:
  https://github.com/scottt/debugbreak

It'd need some work, but at least on macOS/x86_64 GCC & clang[++] both
give a SIGTRAP.

      parent reply	other threads:[~2023-04-25 17:20 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
2023-04-25 17:20 ` Simon Wright [this message]
replies disabled

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