[gnome-builder/wip/libide-merge] add debug and valgrind helpers



commit 8f3dcf6ee73cd5969edceaffb2490b2b538cf1d4
Author: Christian Hergert <christian hergert me>
Date:   Sat Mar 21 14:07:56 2015 -0700

    add debug and valgrind helpers

 Makefile.am |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index dd42616..c24007f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,3 +40,8 @@ EXTRA_DIST += \
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
 
+debug:
+       G_DEBUG=fatal-criticals $(LIBTOOL) --mode=execute gdb --args gnome-builder test.c
+
+valgrind:
+       G_DEBUG=fatal-criticals $(LIBTOOL) --mode=execute valgrind gnome-builder test.c


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