C++ Logo

std-proposals

Advanced search

Stacktrace from exception

From: Андрей Некрашевич <axolm13_at_[hidden]>
Date: Fri, 21 May 2021 17:00:21 +0300
Hi again!

We benchmarked the prototype in its current form to estimate the overhead
that the trace capture adds when an exception is thrown.

It seems that it slows down a lot, so we edited the paper and now it
proposed to regulate the stacktrace capture with the runtime option `
std::this_thread::capture_stacktraces_at_throw`, which is disabled by
default.

New version of proposal with full motivation can be found here -
https://htmlpreview.github.io/?https://github.com/axolm/libsfe/blob/master/paper/stacktrace_from_exception.html

What do you think about this?

Received on 2021-05-21 09:00:47