From a2779dd768f89601dab57ef5d8e3eaecbce12d2b Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Wed, 20 May 2009 21:43:38 +0200 Subject: document gdb stuff --- docs/CONTRIBUTING | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/CONTRIBUTING') diff --git a/docs/CONTRIBUTING b/docs/CONTRIBUTING index 86655dd..74d1b36 100644 --- a/docs/CONTRIBUTING +++ b/docs/CONTRIBUTING @@ -37,3 +37,11 @@ So ideally, all contributors develop in their experimental, that gets merged int ### MEMORY LEAK CHECKING valgrind --tool=memcheck --leak-check=full ./uzbl + +### DEBUGGING / BACKTRACES + +* compile with -ggdb (enabled by default on experimental tree) +* run: `gdb ./uzbl` +* `(gdb) run -c /path/to/config` +* `bt` if it segfaults to see a backtrace +* you'll find more info on the interwebs -- cgit v1.2.3