htmlize {Edrx's page on debugging} { [HLIST1 {Main tricks} [P [MYL emacs.html Emacs] comes with two debuggers for elisp code: [ES {emacs debugging} debug] and [ES {emacs edebug} edebug].] [P [AL {eev-extras.el gdbk-mode} Gdbk-mode] is a minor mode (a quick hack, in fact) that will add some nice keybindings to GUD\; I also use it to define some [AL {eev-extras.el gdbk-hyperlinks} that call debuggers] ([ES {anatocc dlopen} here] a simple example).] [HLIST2 {Harder examples:} [J [ES {lynx debug_lynx} Debugging lynx] with Expect, [ES {emacs gnuserv} gnudoit], and gdbk-gdb.] [J [ES {emacs emacs21-gdb_1} Debugging Emacs21] using all that plus screen and eeg2.] ] [P Linux's [L http://www.liacs.nl/~wichert/strace/ strace] isn't able to follow vforks\; [L http://lists.debian.org/debian-mentors-0007/msg00089.html this message on debian-mentors] ([ES {anatocc libvforkwrap} e-script]) contains a workaround that works in most cases. There is also a [L http://www.liacs.nl/~wichert/strace/patches.shtml kernel patch] to make vforks straceable, but I haven't tested it yet.] [J [ES {make makefile_addtrace} A(n) (e-)script] to modify makefiles to make them emit information about the targets they are trying to make.] [J [L http://expect.nist.gov/ Expect] comes with a very nice debugger for Tcl ([ES {expect debugger} a demo, as an e-script]).] [J [L http://www.geocities.com/SiliconValley/Ridge/2549/tuba/ Tuba] is another debugger for Tcl. It is large, pretty, click-driven and I can't quite grok how it works. People that are not obsessed with automating everything will almost certainly prefer it to the Expect-based debugger.] [J [L http://www.soder-labs.com/icon/ itweak] ([L http://www.soder-labs.com/icon/itweak.html user manual]) is a debugger for Icon.] ] [HLIST1 {Other links:} [L http://www.cs.nmsu.edu/~mikau/aadebug.html] [L http://www.mozilla.org/unix/debugging-faq.html] [L http://hegel.ittc.ukans.edu/projects/smartgdb/] [L http://sources.redhat.com/gdb/] [L http://sources.redhat.com/gdb/papers/libgdb2/libgdb.texi] [L http://sources.redhat.com/ml/gdb/] [L http://plan9.bell-labs.com/sys/doc/acidpaper.html] ] }