2 ms·
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.
by rini17 5y 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.
- malkia 5y agoOn Windows, there is an API for this - https://docs.microsoft.com/en-us/windows/win32/api/errhandlingapi/nf-errhandlingapi-addvectoredexceptionhandler https://docs.microsoft.com/en-us/windows/win32/api/errhandli... - you can save the callstack there, before a C++ exceptions happens.