P2370 Stacktrace from exception #1056
Mailing review 26-07-2021-13-09-2001
Lots of interest for this paper to land in 23 along the already approved stacktrace proposal.
We probably still want to hear from implementers directly about the potential issues pertaining to ABI stability.
Given all the feedbacks were addressed and reviewers are happy with the general design and wording,
2022-06-21 Library Evolution Telecon
P2370R2: Stacktrace from exception
P2490R0: Zero-overhead exception stacktraces
Chair: Bryce Adelstein Lelbach
Minute Taker: Ben Craig
Champion: Antony Polukhin (P2370) & Ed Catmur (P2490)
Start: 2022-06-21 11:51 Eastern
Does P2370 have:
This needs to be seen by Evolution.
P2380R2 proposes capturing the stacktrace at the throw side and allows you to globally or per-thread enable/disable capturing stacktraces.
P2490R0 proposes to capture the stacktrace at entering the catch block rather than at the throw side.
P2380R2 (Stacktrace from exceptions) and P2490R0 (Zero-overhead exception stacktraces) propose mechanisms for attaching stacktraces to exceptions.
It became apparent during Library Evolution's review of these papers that they should be seen by Evolution first.
Send P2380R2 (Stacktrace from exceptions) and P2490R0 (Zero-overhead exception stacktraces) to Evolution.
How to enable/disable stacktraces and how to access them from an exception are properties of the exception handling mechanism, which is a language feature. One of the proposals has an implementation in a compiler and involved changes to the compiler and language runtime, not just new library APIs.