[vte] Add debug output when g-p-h fails



commit 022bf76c6b01ea82310c67020461530082f86998
Author: Christian Persch <chpe gnome org>
Date:   Sun Apr 4 18:12:00 2010 +0200

    Add debug output when g-p-h fails

 src/pty.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/pty.c b/src/pty.c
index b2dfc49..f5edbd4 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -1494,6 +1494,10 @@ vte_pty_initable_init (GInitable *initable,
                 if (ret)
                         goto out;
 
+                _vte_debug_print(VTE_DEBUG_PTY,
+                                 "_vte_pty_open_with_helper failed: %s\n",
+                                 err->message);
+
                 /* Only do fallback if gnome-pty-helper failed! */
                 if ((priv->flags & VTE_PTY_NO_FALLBACK) ||
                     !g_error_matches(err,



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