[mutter/wip/wayland-work: 2/10] [NOT FOR REVIEW] Add the ability to	attach a debugger at init
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [mutter/wip/wayland-work: 2/10] [NOT FOR REVIEW] Add the ability to	attach a debugger at init
- Date: Wed,  4 Sep 2013 13:19:42 +0000 (UTC)
commit 3b3c6d08b6127c6ee55bad11c81b4fb21fd13387
Author: Giovanni Campagna <gcampagn redhat com>
Date:   Wed Aug 21 11:43:12 2013 +0200
    [NOT FOR REVIEW] Add the ability to attach a debugger at init
 src/core/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/core/main.c b/src/core/main.c
index 5f1f4da..2d605e6 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -386,6 +386,9 @@ meta_init (void)
                 g_strerror (errno));
 #endif
 
+  if (getenv ("MUTTER_SLEEP_INIT"))
+    sleep (60);
+
   g_unix_signal_add (SIGTERM, on_sigterm, NULL);
 
   if (g_getenv ("MUTTER_VERBOSE"))
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]