Re: [Gnome-devtools] gnome-debug heads up



> Maybe this is a RTFM, but:
> is there a way to add a 'start gnome-debugger' button to the gnome-libs
> segfault handler dialog? [Or even just start gdb ....]

There is a patch in the gnome-libs stable branch that does just this.  It
will be included in the next gnome-libs release, or you can get a patch to
1.2.4 at
http://gnome-crash.sourceforge.net/gnome_libs_debug_button_patch.diff

To use this feature, you set the environment variable GNOME_DEBUGGER to the
debugger you want to use.  So if you want to use dryad, 'export
GNOME_DEBUGGER="dryad"'.

The format of arguments passed to the debugger don't match the arguments gdb
expects, so if you want to use gdb you'll have to write some sort of
wrapper.  There is another useful debugging tool called gnome-crash (whose
author did the gnome-libs patch) at http://gnome-crash.sourceforge.net/

Have fun,
-dave





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]