2 ms·
I prefer ASAN/UBSAN to either debuggers or printf-style debugging in such cases, but it's not always available. I think a lot of debugger vs printf-style debug
by scottlamb 8y ago
I prefer ASAN/UBSAN to either debuggers or printf-style debugging in such cases, but it's not always available.
I think a lot of debugger vs printf-style debugging is a matter of preference and familiarity. I'm used to debugging embedded or distributed systems where debugger support is not so great, so I've gotten used to other techniques (including printf-style stuff). But a lot of people love using debuggers, and I find it elitist to tell them they're wrong.
- vvanders 8y agoYeah, I've never had that pleasure except in toy scenarios but they are cool tools! Usually I'm dealing with 2-3 vendors worth of cruft and platforms that aren't publicly available. You'd be impressed with the power of formatted printf + excel. Solved some fun issues like quaternion interpolation normalization via graphing and the like.