|
From: John P. <joh...@o2...> - 2015-04-10 21:49:04
|
Thanks everyone for the replies. Most helpful. I try to stear clear of Eclipse and Netbeans because of prior, bad, experiences. In fairness they both seem very good when they're working. Problems I've had occur when things go wrong and/or setting them up the way I want to work. I've spent much frustrated time with Eclipse trying to sort paths and issues related to macros and 'variables' that seem to be defined in various hard to find and hard to remember dialogues. In fact I had an issue with Eclipse today that cost me several hours to fix and why re-booting the PC mostly resolved the problem I've no idea. On the other hand as I'm using Eclipse in work (Ti's Code Composer Studio 5) I did try Eclipse and so far it's work well with MinGW. The only issue I have had is that stdout output from printf and the like only appear in the console window if followed by a flush(stdio);. Is this an issue with all debuggers and MinGW or just an Eclipse issue? I'll give QT Creator a go. The fact that it's multiplatform and actively maintained seems good to me and I've come across others recomending it. Thanks again everyone, John On 04/04/2015 12:19, Matt D. wrote: > 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 |