News for hackers. Stuff that matters.
Re:You say “cave dweller debugging”, I say debug logging by JoeAltmaier on Friday May 06, 2022 @09:09AM (#31284674)
Hm. If its a timing issue, regular debuggers affect that and will perturb the experiment.

Fast, lightweight logging can be a necessary tool.

Re:You say “cave dweller debugging”, I say debug logging by thewebcount on Friday May 06, 2022 @08:07PM (#31290892)
I can think of a single case where the debugger changed timing enough to make a problem I was working on not show up. I can think of dozens of times when logging did, though. I guess it’s dependent on the type of problems you work on.
Re:You say “cave dweller debugging”, I say debug logging by JoeAltmaier on Saturday May 07, 2022 @03:37PM (#31297825)
Lots of ways to do logging. Create a circular buffer of tags and values at critical points - takes just a couple machine cycles to add an entry. When the problem occurs (break in the debugger) the table records the last N significant actions.