The is what Kernighan & Pike say in their excellent book "The Practice of Programming." (And I agree..)
As they say, "...we tend not to use debuggers beyond getting a stack trace or the value of a variable or two. One reason is that it is easy to get lost in the details of complicated data structures and control flow;.... It is more helpful to use the debugger to discover the state of the program when it fails, then think about how the failure could have happened...."
As they say, "...we tend not to use debuggers beyond getting a stack trace or the value of a variable or two. One reason is that it is easy to get lost in the details of complicated data structures and control flow; .... It is more helpful to use the debugger to discover the state of the program when it fails, then think about how the failure could have happened. ..."
Just my 0.02...
R.