views:

1496

answers:

11

Please consider both commercial and free debuggers. Would like to see also the pros and cons for each.

+1  A: 

I haven't used it myself, so I can't comment on the pros/cons , but one commercial alternative is TotalView.

There is also DDD that gives you a frontend to GDB, but i guess you have already tried/used that?

Espo
A: 

UndoDB sounds interesting in that it allows reverse stepping. However, it's expensive and I'm well adapted to gdb so I'm unlikely to change. Others I've seen don't have the extra features required to entice me away from my known environment.

paxdiablo
UndoDB is more of an 'add-on' to GDB rather than a different debugger. It is however a good tool.
Richard Corden
+2  A: 

Intel's compilers include a debugger for Linux.

David Dibben
Is it any good?
mctylr
+2  A: 

zerobugs

BCS
Any comments on this one? Have you used it?
grigy
I tried it very briefly but never got it working because of having a to out of date GUI desktop.
BCS
+1  A: 

For debugging Assembly code, there's ALD.

noid
A: 

Going off on a ledge here, but if your up to it Sun's MDB is great, especially if you use lots of templates and threaded code. It beats GDB hands down if that's your situation. On the other hand its not that great if all you need are breakpoints, I'd stick with GDB in that case.

Robert Gould
+2  A: 

nemiver is a great front end to gdb (looks better than ddd imo even though it might not be as advanced yet).

+3  A: 

emacs has a great front end to gdb too.

Is the next version of emacs going to come with the kitchen sink also?
Zifre
ro come on ! Emacs do has a great front end for gdb like any other IDE, what's wrong with this ?! Your comment would be more appropriate to the fact that emacs also comes with tetris...
Ben
+3  A: 

I really like EDB (Evan's Debugger).

It has a nice 'OllyDBG feel', which was great because I used it quite a deal when I was still working on the windows platform.

EDB (Evan's Debugger) is a QT4 based binary mode debugger with the goal of having usability on par with OllyDbg. It uses a plugin architecture, so adding new features can be done with ease. The current release is for Linux, but future releases will target more platforms.


(clickable)

Daniel
dead link``````
Longpoke
@Longpoke: nope, link works fine. You may have more luck with the author's own website: http://www.codef00.com/projects.php#debugger
Daniel
I meant the image.
Longpoke
http://freshmeat.net/screenshots/20/88/2088b56ccd701771c6df012f05708043_medium.png?1267210446
Daniel
+1  A: 

On Linux, most debugging is handled via GDB. As others have mentioned, however, it is not necessary to use GDB directly. A variety of options exist, some mentioned in previous answers:

  • Emacs (has a GDB frontend)
  • DDD (Motif-based, somewhat quirky, graphical interface with excellent data inspection capabilities)
  • Nemiver (GTK-based frontend)
  • Eclipse
  • Code::Blocks
  • NetBeans can probably do it as well
  • Anjuta (Gnome IDE)

Of these, I've used DDD and tried Nemiver. At the time, Nemiver was short on features, and thus didn't work very well for me. That was two years ago, though. I've often used DDD, and find its data viewing excellent and worth working with its UI. I also frequently just use gdb from the command line, though.

Michael E
A: 

Sun's dbx works in Linux too.

osgx