0

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

thanks

TheFuzz
  • 2,607
  • 6
  • 29
  • 48

10 Answers10

7

Have you tried gdb?

diciu
  • 29,133
  • 4
  • 51
  • 68
5

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.

Community
  • 1
  • 1
DOK
  • 32,337
  • 7
  • 60
  • 92
3

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
  • 97,814
  • 39
  • 186
  • 310
2

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
  • 7,423
  • 33
  • 35
1

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 .

Sajad Bahmani
  • 17,325
  • 27
  • 86
  • 108
0

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

Richard Pennington
  • 19,673
  • 4
  • 43
  • 72
0

why don't use an IDE like CodeLite

Priyank Bolia
  • 14,077
  • 14
  • 61
  • 82
0

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.

Ana Betts
  • 73,868
  • 16
  • 141
  • 209
0

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.

deft_code
  • 57,255
  • 29
  • 141
  • 224
0

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
  • 1