merge from Uli Schlachter: policy callback + experimental Makefile + tiny fixes
[uzbl-mobile] / docs / CONTRIBUTING
index 9a2ff35..74d1b36 100644 (file)
@@ -34,3 +34,14 @@ So ideally, all contributors develop in their experimental, that gets merged int
        $ recompile
        $ valgrind --tool=callgrind ./uzbl ....
        $ kcachegrind callgrind.out.foo
+
+### 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