Dynamic Printf Debugging with GDB
abstractexpr.com
Dynamic Printf Debugging with GDB
1–3 of 3 posts
Re: Dynamic Printf Debugging with GDB
#2The debugger also lets you run a decent amount of code in it, making something of a REPL of sorts. You can modify the state of the program and see what it does in response without having to recompile your code.
Re: Dynamic Printf Debugging with GDB
#3Tracepoints/logpoints have been a part of pretty much any debugger for a long time now: https://debugagent.com/the-best-way-to-diagnose-a-patient-is...