[gnome-builder] meson: add more logging
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] meson: add more logging
- Date: Tue, 5 Feb 2019 06:17:17 +0000 (UTC)
commit 1993412761dfd9721544cdcc662f3ad789a956eb
Author: Christian Hergert <chergert redhat com>
Date: Sun Feb 3 22:06:23 2019 -0800
meson: add more logging
src/plugins/meson/gbp-meson-build-system.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/meson/gbp-meson-build-system.c b/src/plugins/meson/gbp-meson-build-system.c
index cc34cd7b0..710c8b554 100644
--- a/src/plugins/meson/gbp-meson-build-system.c
+++ b/src/plugins/meson/gbp-meson-build-system.c
@@ -257,6 +257,8 @@ gbp_meson_build_system_load_commands_async (GbpMesonBuildSystem *self,
IdePipeline *pipeline;
IdeContext *context;
+ IDE_ENTRY;
+
g_assert (GBP_IS_MESON_BUILD_SYSTEM (self));
g_assert (!cancellable || G_IS_CANCELLABLE (cancellable));
@@ -274,7 +276,7 @@ gbp_meson_build_system_load_commands_async (GbpMesonBuildSystem *self,
ide_task_return_pointer (task,
g_object_ref (self->compile_commands),
g_object_unref);
- return;
+ IDE_EXIT;
}
/*
@@ -298,7 +300,7 @@ gbp_meson_build_system_load_commands_async (GbpMesonBuildSystem *self,
G_IO_ERROR,
G_IO_ERROR_NOT_INITIALIZED,
"There is no pipeline to access");
- return;
+ IDE_EXIT;
}
path = ide_pipeline_build_builddir_path (pipeline, "compile_commands.json", NULL);
@@ -319,7 +321,7 @@ gbp_meson_build_system_load_commands_async (GbpMesonBuildSystem *self,
gbp_meson_build_system_monitor (self, file);
- return;
+ IDE_EXIT;
}
/*
@@ -333,7 +335,7 @@ gbp_meson_build_system_load_commands_async (GbpMesonBuildSystem *self,
G_IO_ERROR,
G_IO_ERROR_NOT_INITIALIZED,
"The pipeline is not yet ready to handle requests");
- return;
+ IDE_EXIT;
}
/*
@@ -346,6 +348,8 @@ gbp_meson_build_system_load_commands_async (GbpMesonBuildSystem *self,
cancellable,
gbp_meson_build_system_load_commands_config_cb,
g_steal_pointer (&task));
+
+ IDE_EXIT;
}
static IdeCompileCommands *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]