Hacker News new | ask | show | jobs
by gosub100 585 days ago
My grief with debuggers is due to C++ and template code (usually STL) and optimizations zeroing out values. I wish it had better training wheels to say "nope that's STL library code, you probably don't want to step any deeper". That's largely a criticism of C++ itself, though. But yes for this reason I prefer printfs despite 20 years in the game.
2 comments

gdb has a skip function and you can exclude STL headers and functions named in special ways so that reduces the noise quite a bit.