Subject: Re: Debugging on Linux
From: Matthew Kirkwood (matthew@hairy.beasts.org)
Date: Wed Jun 20 2001 - 10:07:28 CDT
On Thu, 21 Jun 2001, Andrew Dunbar wrote:
> I finally got around to building Abi for Linux/GTK so I could compare
> things and make sure all my patches work as they do on Windows. I had
> *loads* of asserts and a few crashes! Would anyone here be able to
> recommend a debugger for Linux? Commandline gdb is pretty daunting.
> Are there any GUI debuggers that are any good?
DDD is great. http://www.gnu.org/software/ddd/. It's
really great. Did I mention that I think it's great?
Unfortunately, it depends on a working Motif. It's now
fairly solid with Lesstif, but much better with the (non-
free, bah) OpenMotif.
GNU Visual Debugger looks fairly similar, but is Gtk-
based. Because it depends only on free software, binaries
are easier to get.
> Can anybody point me to good tutorials on the net somewhere? What's
> the best way to simply start gdb to debug AbiWord?
Probably easiest is to hack the abiword script to do:
ddd $ABISUITE_LIBEXEC/AbiWord_d "$@"
at the appropriate place. Alternatively, copy the environment
stuff at the top to a new file, and you can:
$ source ~/abi-env
$ ddd /path/to/AbiWord_d
Matthew.
This archive was generated by hypermail 2b25 : Wed Jun 20 2001 - 10:07:49 CDT