[mutter/wip/wayland-work: 35/42] [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: 35/42] [NOT FOR REVIEW] Add the ability to attach a debugger at init
- Date: Fri, 23 Aug 2013 16:17:41 +0000 (UTC)
commit 3d7eaa1b7295f98f49442f70f107426defeb01f1
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 9b70d2a..1975e8f 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -408,6 +408,9 @@ meta_init (void)
g_strerror (errno));
#endif
+ if (getenv ("MUTTER_SLEEP_INIT"))
+ sleep (60);
+
if (meta_is_wayland_compositor ())
{
act.sa_handler = crash_handler;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]