2 ms·
If your goal is to be able to step it in the debugger and follow what is going on, then it is definitely still a debug build. If you want sanitization instead
by ncmncm 8y ago
If your goal is to be able to step it in the debugger and follow what is going on, then it is definitely still a debug build.
If you want sanitization instead of stepping through the debugger, use that.
The people who are best at debugging avoid debuggers entirely, and use logging statements inserted in release-built code, and little proofs. It is hard to persuade people who don't think that way, but it is the only route to mastery.
- Const-me 8y agoI'm very good at debugging and when I have choice I use all the tools I can get. Not only I use debuggers, I extend them to do what I need for particular project, e.g. autoexp.dat/natvis/custom plugins when coding C++ in VC. At the same time I also use logging a lot. These two things aren't always mutually exclusive. Only sometimes they are. Some platforms don't have good debuggers. For other stuff it's the opposite, e.g. you can't log from code running on GPU (very hard to accomplish, borderline impossible) but there're specialized GPU debuggers. I don't think people who use just logging, or just debuggers, are the best.