r/cpp • • Apr 19 '26

Adding Stack Traces to All C++ Exceptions

https://werwolv.net/posts/cpp_exception_stacktraces/
120 Upvotes

27 comments sorted by

View all comments

Show parent comment

17

u/WerWolv Apr 19 '26

They still throw when required. They just seem to do it more in header files than inside their shared library. So more of its exceptions throwing locations get compiled into your own code

2

u/thisismyfavoritename Apr 19 '26

i see, that makes sense, thanks!