hello everyone, i was wondering if there was a good debugger you can recommend for C++. thanks for helping
Whats wrong with Visual studio unless you use linux.
ANyway my suggestion is Visual studio. But this also depends on what sort of a c++ project you work with.
You basically have two choices :
- the visual studio debugger if you're under Visual (just press F5)
- GDB, and its various user interfaces (this goes from a harsh Emacs mode to QtCreator integration
General answer: use whatever debugger comes with your IDE - something that knows about your project structure will help you immensely when navigating, setting breakpoints, inspecting variables, evaluating expressions, and possibly offering features like edit-and-continue instead of forcing a recompile. Personally, I find Visual Studio to have a pretty darn decent debugger.
If you don't use an IDE, your options are limited... especially if you want symbolic debugging. Your options will pretty much boil down to GDB (with or without frontends), or WinDBG on Windows.