[gnome-builder] build: track GObject instance counts in `run' and `debug' targets



commit a28486b05fa4efd5e1e7bc4efd86be4396b8877b
Author: Christian Hergert <christian hergert me>
Date:   Fri May 8 10:48:09 2015 -0700

    build: track GObject instance counts in `run' and `debug' targets

 Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 236d23c..793cef9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -71,11 +71,13 @@ dist-hook:
 
 run:
        GI_TYPELIB_PATH=libide \
+       GOBJECT_DEBUG=instance-count \
        $(LIBTOOL) --mode=execute gdb -ex run --args src/gnome-builder -vvvv -s
 
 debug:
        GI_TYPELIB_PATH=libide \
        G_DEBUG=fatal-criticals \
+       GOBJECT_DEBUG=instance-count \
        $(LIBTOOL) --mode=execute gdb -ex run --args src/gnome-builder -vvvv -s
 
 valgrind:


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