Hacker News new | ask | show | jobs
by rini17 1754 days ago
To whomever is going to implement this: Please save the stack trace into the error object at its creation time, at least in debug builds.
1 comments

On Windows, there is an API for this - https://docs.microsoft.com/en-us/windows/win32/api/errhandli... - you can save the callstack there, before a C++ exceptions happens.