18 Jun
2016
18 Jun
'16
11:32 p.m.
On 18.06.2016 12:34, Antony Polukhin wrote:
Hi,
I've got some prototype for getting stack traces: https://github.com/apolukhin/stacktrace It's design is based on the idea that class for stacktrace must be fully noexcept, without dynamic allocations in constructors and as simple as possible.
Is there interest in it? What functionality would you like to have in it?
Years ago I was briefly experimenting with capturing the stack backtrace in the exception objet before throwing it, but couldn't make it work reliably on some platforms. Windows code in particular was very sensitive to compiler options. So yes, I could find a portable library like that useful. Cheers, Leon