Index: gmain.c
===================================================================
RCS file: /cvs/gnome/glib/glib/gmain.c,v
retrieving revision 1.115
diff -u -p -r1.115 gmain.c
--- gmain.c	14 Mar 2004 18:02:37 -0000	1.115
+++ gmain.c	17 Mar 2004 16:28:05 -0000
@@ -3454,6 +3454,11 @@ g_child_watch_prepare (GSource *source,
 
   child_watch_source = (GChildWatchSource *) source;
 
+  g_printerr ("prepare: Checking pid %d, counts = %d/%d\n",
+	      child_watch_source->pid,
+	      child_watch_source->count,
+	      child_watch_count);
+  
   return check_for_child_exited (source);
 }
 
@@ -3465,6 +3470,11 @@ g_child_watch_check (GSource  *source)
 
   child_watch_source = (GChildWatchSource *) source;
 
+  g_printerr ("check: Checking pid %d, counts = %d/%d\n",
+	      child_watch_source->pid,
+	      child_watch_source->count,
+	      child_watch_count);
+  
   return check_for_child_exited (source);
 }
 
@@ -3498,6 +3508,8 @@ g_child_watch_dispatch (GSource    *sour
 static void
 g_child_watch_signal_handler (int signum)
 {
+  write (2, "SIG\n", 4);
+	
   child_watch_count ++;
 
   if (child_watch_init_state == CHILD_WATCH_INITIALIZED_THREADED)
