[COFF] [TUHS] Re: To NDEBUG or not to NDEBUG, that is the question
Dan Cross via COFF
coff at tuhs.org
Mon Nov 10 17:45:05 AEST 2025
On Sun, Nov 9, 2025 at 10:22 PM <ori at eigenstate.org> wrote:
> Quoth Dan Cross <crossd at gmail.com>:
> > Post mortem analysis is undeniably useful. But I maintain that it is
> > _mostly_ orthogonal to `assert`.
>
> What are you doing with the printed values of assert (or the
> stack trace), other than post mortem analysis?
That's reductive. Surely there is a qualitative difference between
reading an error message and invoking a debugger, no? And as I said,
there are instances where you `assert` and no core file (or broken
process) to debug is produced.
- Dan C.
(And of course I must acknowledge that I did misread your earlier
statement about stack traces being at times insufficient.)
More information about the COFF
mailing list