ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #02908
[Branch ~indicator-applet-developers/dbus-test-runner/trunk] Rev 28: Adding debugging info when starting tasks.
------------------------------------------------------------
revno: 28
committer: Ted Gould <ted@xxxxxxxx>
branch nick: trunk
timestamp: Fri 2011-01-28 10:30:01 -0600
message:
Adding debugging info when starting tasks.
modified:
src/dbus-test-runner.c
--
lp:dbus-test-runner
https://code.launchpad.net/~indicator-applet-developers/dbus-test-runner/trunk
Your team ayatana-commits is subscribed to branch lp:dbus-test-runner.
To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/dbus-test-runner/trunk/+edit-subscription
=== modified file 'src/dbus-test-runner.c'
--- src/dbus-test-runner.c 2010-12-15 19:26:26 +0000
+++ src/dbus-test-runner.c 2011-01-28 16:30:01 +0000
@@ -158,6 +158,8 @@
return;
}
+ g_debug("Starting bustle monitor. PID: %d", bustle_pid);
+
bustle_stdout = g_io_channel_unix_new(bustle_stdout_num);
g_io_add_watch(bustle_stdout,
G_IO_IN | G_IO_PRI, /* conditions */
@@ -351,6 +353,8 @@
NULL); /* error */
g_free(argv);
+ g_debug("Started task '%s' PID: %d", task->name, task->pid);
+
GIOChannel * iochan = g_io_channel_unix_new(proc_stdout);
g_io_channel_set_buffer_size(iochan, 10 * 1024 * 1024); /* 10 MB should be enough for anyone */
task->io_watch = g_io_add_watch(iochan,