Searching good Debugger for C++

梦想的初衷 提交于 2019-12-25 16:55:00

问题


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


回答1:


i recommend emacs + gdb. best combination ever.

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




回答2:


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.




回答3:


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.




回答4:


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



回答5:


For Linux you could also try Zero.




回答6:


Intel has a debugger called idb which is nice and works rather well.




回答7:


code blocks

Code::Blocks is a free C, C++ and Fortran IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable.

Finally, an IDE with all the features you need, having a consistent look, feel and operation across platforms.

Built around a plugin framework, Code::Blocks can be extended with plugins. Any kind of functionality can be added by installing/coding a plugin. For instance, compiling and debugging functionality is already provided by plugins!

Special credits go to darmar for his great work on the FortranProject plugin, bundled since release 13.12.

We hope you enjoy using Code::Blocks!



来源:https://stackoverflow.com/questions/3582869/searching-good-debugger-for-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!