Date: Tue, 4 Jan 2022 15:33:02 +0000
On Tue, 4 Jan 2022 at 15:04, Ben Craig via SG15 <sg15_at_[hidden]>
wrote:
> IMO, we need a function that is an unconditional breakpoint, similar to
> what the various compile builtins already provide. This could be in
> addition to the conditional breakpoint. The conditional breakpoint can be
> built from the unconditional breakpoint + is_debugger_present, so we should
> provide the lower level building block.
>
>
>
> My personal preference is that the unconditional breakpoint gets the
> “good” name of std::breakpoint, but I can live with the conditional
> breakpoint getting the good name.
>
Or make it std::breakpoint(bool).
wrote:
> IMO, we need a function that is an unconditional breakpoint, similar to
> what the various compile builtins already provide. This could be in
> addition to the conditional breakpoint. The conditional breakpoint can be
> built from the unconditional breakpoint + is_debugger_present, so we should
> provide the lower level building block.
>
>
>
> My personal preference is that the unconditional breakpoint gets the
> “good” name of std::breakpoint, but I can live with the conditional
> breakpoint getting the good name.
>
Or make it std::breakpoint(bool).
Received on 2022-01-04 09:33:15