[gnome-builder/gnome-builder-43] libide/threading: log info about force-exit/send-signal requests
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-43] libide/threading: log info about force-exit/send-signal requests
- Date: Tue, 27 Sep 2022 22:04:02 +0000 (UTC)
commit ee21d40121f6eecc011cf8f5140061623ebef9ce
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 27 15:00:41 2022 -0700
libide/threading: log info about force-exit/send-signal requests
This makes it easier to figure out if we caused a signal to be emitted in
a subprocess.
src/libide/threading/ide-subprocess.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/src/libide/threading/ide-subprocess.c b/src/libide/threading/ide-subprocess.c
index 04eff0a0a..86b376af2 100644
--- a/src/libide/threading/ide-subprocess.c
+++ b/src/libide/threading/ide-subprocess.c
@@ -264,6 +264,10 @@ ide_subprocess_send_signal (IdeSubprocess *self,
{
g_return_if_fail (IDE_IS_SUBPROCESS (self));
+ g_debug ("Send signal %d on subprocess %s",
+ signal_num,
+ ide_subprocess_get_identifier (self));
+
WRAP_INTERFACE_METHOD (self, send_signal, NULL, signal_num);
}
@@ -272,6 +276,9 @@ ide_subprocess_force_exit (IdeSubprocess *self)
{
g_return_if_fail (IDE_IS_SUBPROCESS (self));
+ g_debug ("Force exit on subprocess %s",
+ ide_subprocess_get_identifier (self));
+
WRAP_INTERFACE_METHOD (self, force_exit, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]