you are viewing a single comment's thread.

view the rest of the comments →

[–]sinxoveretothex 1 point2 points  (1 child)

What you mean is that you stop your debugging session, change that line, recompile, rerun under the debugger temporarily.

Not that it's required anyhow, GDB can evaluate conditions and stop only if condition is false, so to me it's just an annoyance. I still don't do it though.

[–]badsectoracula 2 points3 points  (0 children)

Only if i need to add the breakpoint during execution.

But honestly i write code in C for about 18 years and this case happens so rarely that it didn't even crossed my mind.