Re:The unreasonable effectiveness of print debugging
by galangalalgol on Saturday April 24, 2021 @10:13PM
(#26929808)
I still resort to gdb, but mostly when I need memory access breakpoints for when someone (occasionally me) stomped on memory.
Add to this a need to build a debugging-enabled version of the project - an often long-running process, compared to a few edits to some 'release' build.
On the other hand, when dealing with an unfamiliar or complex and well-forgotten project, debuggers become that discovery and exploration tool that offers a wider context and potentially better situational awareness.
Of course, mix-in some concurrency and either debugging approach can equally become cumbersome without proper understanding of the project.