document gdb stuff
authorDieter Plaetinck <dieter@plaetinck.be>
Wed, 20 May 2009 19:43:38 +0000 (21:43 +0200)
committerDieter Plaetinck <dieter@plaetinck.be>
Wed, 20 May 2009 19:43:38 +0000 (21:43 +0200)
docs/CONTRIBUTING

index 86655dd..74d1b36 100644 (file)
@@ -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