[gnome-builder/wip/chergert/debugger: 28/86] mi2: cleanup debug code



commit 67cbbe1ec996509c13e76522e556400e94f74f0d
Author: Christian Hergert <chergert redhat com>
Date:   Fri Mar 24 00:50:11 2017 -0700

    mi2: cleanup debug code

 contrib/mi2/mi2-client.c  |    4 +++-
 contrib/mi2/test-client.c |    1 -
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/contrib/mi2/mi2-client.c b/contrib/mi2/mi2-client.c
index 4d31025..adad16a 100644
--- a/contrib/mi2/mi2-client.c
+++ b/contrib/mi2/mi2-client.c
@@ -411,7 +411,9 @@ mi2_client_dispatch (Mi2Client  *self,
         }
     }
   else
-    g_print ("Got message of type %s\n", G_OBJECT_TYPE_NAME (message));
+    {
+      g_warning ("Got message of type %s\n", G_OBJECT_TYPE_NAME (message));
+    }
 }
 
 static void
diff --git a/contrib/mi2/test-client.c b/contrib/mi2/test-client.c
index 5247a03..21a8493 100644
--- a/contrib/mi2/test-client.c
+++ b/contrib/mi2/test-client.c
@@ -176,7 +176,6 @@ on_stopped (Mi2Client     *client,
   g_assert (MI2_IS_MESSAGE (message));
 
   g_print ("stopped %d %s\n", reason, mi2_message_get_param_string (message, "reason"));
-  g_print ("%s\n", g_strjoinv (" ", mi2_message_get_params (message)));
 
   if (reason == MI2_STOP_BREAKPOINT_HIT)
     mi2_client_continue_async (client, FALSE, NULL, NULL, NULL);


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