Display stack trace on uncaught exception
- Dominant language
- C++
- Stars
- 21.5k
- Forks
- 3.5k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 2
Description
**Description**
There are multiple stack-trace packages now available for C++. It would be great if Catch2 would display a stack trace when an uncaught exception happens.
**Additional context**
I found a number of web pages that discuss approaches for display stack traces on exceptions:
* https://stackoverflow.com/questions/691719/c-display-stack-trace-on-exception
* https://stackoverflow.com/questions/77005/how-to-automatically-generate-a-stacktrace-when-my-program-crashes
* https://github.com/bombela/backward-cpp
* https://chromium.googlesource.com/breakpad/breakpad
* https://stackoverflow.com/questions/348833/how-to-know-the-exact-line-of-code-where-an-exception-has-been-caused/348862#348862
I'm okay if it only works with exceptions that are subclasses of a new exception class, or if I have to use special templated exceptions, or even macros. This would be super userful.
Contributor guide
Assessment
This issue has not been assessed yet.