On Thursday, 2 October 2014 at 12:59:37 UTC, ketmar via Digitalmars-d wrote:
i'm not using interactive debuggers for 10+ years. the only use of GDB
for me is doing post-mortem inspection. i found that logging and
integrated control console lets me debug my code faster than any
interactive debug session can.

CLI based debugging in gdb is painful. Whether logging or using a debugger is faster really depends IMO. I think regular tracing/logging is easier when you debug recursive stuff like parser or regexp engines, but a debugger is easier when you have NULL dereferencing issues, when you are getting wrong values in complex calculations or when loops don't terminate when they are supposed to.

Reply via email to