|
Written by Edwin
|
I've been looking long and hard for finding an application that could
remove some of the annoying limitations of gdb when working with it on
the command line. The graphical frontends to gdb where abysmal in
quality, at least I found them unworkable. There are some nice visual
frontends for gdb in the integrated development environments that are
currently in the work on linux, like anjuta, but these IDE's are not
nearly stable enough to work with on a daily basis.
CGDB is an command line ncurses 'frontend' for gdb. It actually is a
replacement of GDB. GDB also has a ncurses variant by using the '-tui'
argument on its commandline. But still this is not satisfactory (and
rather buggy because it is not supported..).
In comes CGDB. It fixes all the problems that gdb -tui has and adds a
lot of other features that make it really nice to work with.
 A screenshot of cgdb
The most significant feature (which gdb -tui also has btw, in a quite limited and buggy way) is of course
the source view at the top of the window. This shows the current
relevant source code file with nice color syntaxing and you can (via a vi-style mode switch)
traverse the code and (un)set breakpoints, step debug, etc. The source
code can also be automatically reloaded when you change something and
recompile without closing cgdb.
The normal output of an application can be looked at inside the
interface but also redirected to a different tty (nice if you're in a
screen session).
It not bloated with unnecessary features, but fills the holes left in GDB nicely, it actually makes GDB workable :). Find it at cgdb.sourceforge.net.
|
|
Last Updated ( Monday, 11 July 2005 )
|