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
1
u/donalmacc Game Developer Apr 16 '26
Presumably you use a library for it? Getting a reliable symbolicated stack trace is surprisingly tough work, especially if you want to put it somewhere. The programs state is likely to be FUBAR so you are really limited in what you can do, you need the memory pre allocated and you likely need another process pre spawned to catch the actual crash dump and put it somewhere.