tags:

views:

83

answers:

5

hello everyone, i was wondering if there was a good debugger you can recommend for C++. thanks for helping

+2  A: 

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.

ckv
A: 

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
Calvin1602
+2  A: 

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.

snemarch
A: 

For Linux you could also try Zero.

celavek
+1  A: 

i recommend emacs + gdb. best combination ever.

http://www.cs.cmu.edu/~gilpin/tutorial/

tarrasch