[gnome-builder] runtime: add tracing macros



commit 0eba946d2f1809dc1d0624b48ff1e1c04b6df077
Author: Christian Hergert <chergert redhat com>
Date:   Wed Sep 14 00:39:51 2016 -0700

    runtime: add tracing macros

 libide/runtimes/ide-runtime.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libide/runtimes/ide-runtime.c b/libide/runtimes/ide-runtime.c
index 2634bed..0d5ba61 100644
--- a/libide/runtimes/ide-runtime.c
+++ b/libide/runtimes/ide-runtime.c
@@ -19,6 +19,7 @@
 #define G_LOG_DOMAIN "ide-runtime"
 
 #include "ide-context.h"
+#include "ide-debug.h"
 
 #include "buildsystem/ide-builder.h"
 #include "buildsystem/ide-configuration.h"
@@ -100,12 +101,13 @@ ide_runtime_real_create_launcher (IdeRuntime  *self,
 {
   IdeSubprocessLauncher *ret;
 
-  g_assert (IDE_IS_RUNTIME (self));
+  IDE_ENTRY;
 
+  g_assert (IDE_IS_RUNTIME (self));
 
   ret = ide_subprocess_launcher_new (G_SUBPROCESS_FLAGS_STDOUT_PIPE | G_SUBPROCESS_FLAGS_STDERR_PIPE);
 
-  return ret;
+  IDE_RETURN (ret);
 }
 
 static gboolean


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