Re:Why Don't Schools Teach Debugging?
by MichaelMoser123 on Wednesday February 19, 2014 @08:46AM
(#7263563)
Valgrind can't be fast, it has to track/color each memory location, it also has to check each pointer reference; also its memory overhead for larger footprints can be considerable.
Once upon a time it was really slow, but then they added just in time compilation.
logging/tracing can be selectively enabled;
Adding logging also changes timing. Those aren't just NOPs you're throwing in. Also, changing timing isn't always a bad thing. Sometimes you can get a bug from a race condition to happen more often with the debugger.