|
From: Chris <Dev...@re...> - 2015-04-07 08:30:31
|
Hi It really is as easy as you would hope. Netbeans sets up the environment for you provided your tools are installed in the default locations. Download the CPP version of Netbeans or the CPP plugin if you have netbeans already installed. I found the easiest solution was to use cygwin it was hassle free. https://netbeans.org/community/releases/80/cpp-setup-instructions.html You do need to be careful of your paths if you have multiple compilers Debugging is as easy as setting a breakpoint and then clicking the debug icon. https://netbeans.org/kb/docs/cnd/debugging.html I will admit I haven't done much heavy lifting with it. but I have debugged a remote application running on linux from windows. While a bit slow it was quite workable. I went to Netbeans after giving up trying to get eclipse to work in a reliable way and have never looked back. Chris<http://www.rebel.com.au> On 7/04/2015 10:24 AM, Emanuel Falkenauer wrote: > Hi, > > We have NetBeans installed on all our [windows] machines for Java > developments. On the other hand, debugging MinGW with gdb's native > "interface" is indeed an excruciating experience - would you be so kind > to point to a resource that would explain how to set up NetBeans for C++ > debugging with MinGW? > > Many thanks in advance! > > Emanuel > > On 05-Apr-15 12:38, Chris wrote: >> If you are using QT then QT Creator is the only tool. >> >> BUT >> >> I use netbeans daily. It's a great IDE and the debugger works well with GDB. >> I switch from C/C++ to php all the time and never have to leave the IDE. >> >> I use it at work and at home. >> >> All thumbs up for Netbeans on windows. >> >> Chris >> >> On 5/04/2015 7:11 AM, ralph engels wrote: >>> I had success in building the insight debugger for both 32 and 64 bit >>> mingw, so far it seems to work fine, >>> you are welcome to try it but a patchset others can use to build it is >>> probably a bit off, >>> since it required a few non standard hacks to get around the problem >>> with itcl/itk not being to happy with the mingw64 compiler (have to >>> unset MSYSTEM to force the build and a lot of other nasty things). >>> Insight was build with python pretty printing and includes the gdb it >>> was build against. >>> >>> you can find it here -> >>> https://sourceforge.net/projects/cbadvanced/files/Tools/ >>> >>> Den 04-04-2015 kl. 13:19 skrev Matt D.: >>>> 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 >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>>> things parallel software development, from weekly thought leadership blogs to >>>> news, videos, case studies, tutorials and more. Take a look and join the >>>> conversation now. http://goparallel.sourceforge.net/ >>>> _______________________________________________ >>>> MinGW-users mailing list >>>> Min...@li... >>>> >>>> This list observes the Etiquette found at >>>> http://www.mingw.org/Mailing_Lists. >>>> We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. >>>> >>>> _______________________________________________ >>>> You may change your MinGW Account Options or unsubscribe at: >>>> https://lists.sourceforge.net/lists/listinfo/mingw-users >>>> Also: mailto:min...@li...?subject=unsubscribe >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>> things parallel software development, from weekly thought leadership blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> MinGW-users mailing list >>> Min...@li... >>> >>> This list observes the Etiquette found at >>> http://www.mingw.org/Mailing_Lists. >>> We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. >>> >>> _______________________________________________ >>> You may change your MinGW Account Options or unsubscribe at: >>> https://lists.sourceforge.net/lists/listinfo/mingw-users >>> Also: mailto:min...@li...?subject=unsubscribe >>> >>> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> MinGW-users mailing list >> Min...@li... >> >> This list observes the Etiquette found at >> http://www.mingw.org/Mailing_Lists. >> We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. >> >> _______________________________________________ >> You may change your MinGW Account Options or unsubscribe at: >> https://lists.sourceforge.net/lists/listinfo/mingw-users >> Also: mailto:min...@li...?subject=unsubscribe >> > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > MinGW-users mailing list > Min...@li... > > This list observes the Etiquette found at > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. > > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > Also: mailto:min...@li...?subject=unsubscribe > > |