r/cpp • u/Xadartt • 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
r/cpp • u/Xadartt • Apr 16 '26
View all comments
Show parent comment
3
u/jwakely libstdc++ tamer, LWG chair Apr 17 '26
It doesn't have to do that. The GCC implementation just captures an array of program counters and then expands those into symbols and locations lazily.