Email or username:

Password:

Forgot your password?
Top-level
Григорий Клюшников

Logging is a valid debugging mechanism though. I used to work on a VoIP library. It needs to run in real time, so if you do pause it on a breakpoint, everything would break after you resume it. Logging was the only practical way to see some state change over time.

1 comment
Gabriele Svelto

@grishka yes it is, especially for debugging issues happening only in production environments. For real-time stuff I suggest trying you rr, the ability of moving both backwards and forwards with your debugger means you can record an uninterrupted run and then debug it at will with no timing pressure.

Go Up