tags:

views:

172

answers:

10

I have been compiling my programs using GCC via the terminal, and im looking for a debugger with more detail

thanks

+6  A: 

Have you tried gdb?

diciu
+3  A: 

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).

bmargulies
+1  A: 

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 .

SjB
A: 

You might want to look at insight and ddd, both wrappers around gdb. You could also use Eclipse.

Richard Pennington
A: 

why don't use an IDE like CodeLite

Priyank Bolia
+4  A: 

Here's some other popular discussions of this question:

Best C++ Debugger For Linux

Linux C++ Debugger

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.

DOK
This is best answer to the question 9and DDD might probably be the best GDB front-end)
Mawg
A: 

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.

Paul Betts
A: 

I've used Zero bugs a few times. It seemed pretty powerful. However I usually end up using gdb cli or curses as thats what I know best.

caspin
+1  A: 

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.

Nicolás
I've not seen many people use it but I absolutely love it. It nicely complements my preference for vim and command line tools.
Kristof Provost
A: 

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.

joeuro