r/cpp • • Apr 16 '26

C++23 std::stacktrace: Never Debug Blind Again

https://medium.com/@sagar.necindia/c-23-std-stacktrace-never-debug-blind-again-6625924d520c
75 Upvotes

48 comments sorted by

View all comments

Show parent comment

2

u/looncraz Apr 16 '26

You put it behind macros to disable on deployment, or pay the size price... Which is sometimes sensible in the hot paths that are giving issues.

4

u/donalmacc Game Developer Apr 16 '26

Sure, or you could use break pad or sentry’s sdks and not have to do that!