I have been compiling my programs using GCC via the terminal, and im looking for a debugger with more detail
thanks
I have been compiling my programs using GCC via the terminal, and im looking for a debugger with more detail
thanks
gdb is pretty much the debugger on linux. Other things you will meet are all, or nearly all, wrappers on gdb (emacs, eclipse, various other guis).
gdb is the console debugger.
if work with console base debugger hard for you , you can use Data Display Debugger (DDD) that base on gdb or KGDB that use in KDE environment.
other solution is used IDE like Netbeans , Eclipse , Anjuta , Kdevelop , ... also core for debugging is gdb .
You might want to look at insight and ddd, both wrappers around gdb. You could also use Eclipse.
Here's some other popular discussions of this question:
Which is the best Linux C/C++ debugger (or front-end to gdb) to help teaching programming?
What is a good unix alternative to DDD (Data Display Debugger)?
You can find more by putting "linux debugger" in the search box in the upper right.
The KDE IDE KDevelop has an experience similar to Visual Studio if that's what you're looking for. Don't let the name fool you, it's a general-purpose IDE - not just limited to Qt/KDE programs.
I highly recommend cgdb
. It's like gdb's TUI but much better, with syntax highlighting of the code.
Really useful to see the code while you debug, but not getting into a graphical debugger either.
I used gdb, gdbtui and Nemiver. They are all not as good as Visual C++, which is the Gold Standard of C++ Debugging, but of course only available for Windows. There are are also KDevelop and Slickedit's debugging function. The latter did not work for me out of the box.