4 ms·
Hm. If its a timing issue, regular debuggers affect that and will perturb the experiment. Fast, lightweight logging can be a necessary tool.
by JoeAltmaier 5y ago
Hm. If its a timing issue, regular debuggers affect that and will perturb the experiment.
Fast, lightweight logging can be a necessary tool.
- thewebcount 5y agoI 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.
- JoeAltmaier 5y agoLots 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.