|
From: Matt D. <ma...@gm...> - 2015-04-04 11:19:39
|
On 4/3/2015 20:32, John Pote wrote: > I recently had a bug that took a lot of edit, add printfs, compile, run > loops before I tracked it down. (forgot to set a flag). This was all > done from a Windows command prompt window and would have been a lot > quicker if I'd had a good debugger. Any suggestions for a good GUI based > debugger to work with the MinGW compiler would be much appreciated. Hi! I can definitely recommend Qt Creator: http://doc.qt.io/qtcreator/creator-debugging.html http://doc.qt.io/qtcreator/creator-debugger-engines.html Despite the name, it also works great for standard (read: non-Qt) C++ applications, it's cross-platform (Linux, OS X, Windows), has a growing community, and is currently under active development resulting in a lot of new features (supports MinGW/GCC, Clang (with support for its static analyzer as well as using its engine for auto-completion), finally -- in addition to MinGW -- it also supports MSVC under Windows). Recent updates: http://blog.qt.io/blog/2015/03/05/qt-creator-3-4-beta1-released/ Tutorials: http://web.stanford.edu/class/cs106b/qtcreator/DebuggingWithQtCreator.pdf https://www.youtube.com/watch?v=B7UsWtyhXh4 http://web.stanford.edu/class/cs106b/qtcreator/qtcreator.html "Getting Started Debugging on Linux" talk by Bruce Dawson is also quite informative: https://www.youtube.com/watch?v=xTmAknUbpB0 Example: http://doc.qt.io/qtcreator/creator-debugging-example.html Best, Matt |