|
From: Enlightenment S. <no-...@en...> - 2008-10-01 20:37:58
|
Log:
Introduce EDEBUG_EXIT to exit during startup (debug stuff).
Author: kwo
Date: 2008-10-01 13:37:53 -0700 (Wed, 01 Oct 2008)
New Revision: 36386
Modified:
trunk/E16/e/src/E.h trunk/E16/e/src/main.c
Modified: trunk/E16/e/src/E.h
===================================================================
--- trunk/E16/e/src/E.h 2008-10-01 20:28:35 UTC (rev 36385)
+++ trunk/E16/e/src/E.h 2008-10-01 20:37:53 UTC (rev 36386)
@@ -418,6 +418,7 @@
char showing_desktop;
Window button_proxy_win;
char firsttime;
+ char debug_exit;
} EMode;
/*
Modified: trunk/E16/e/src/main.c
===================================================================
--- trunk/E16/e/src/main.c 2008-10-01 20:28:35 UTC (rev 36385)
+++ trunk/E16/e/src/main.c 2008-10-01 20:37:53 UTC (rev 36386)
@@ -116,6 +116,9 @@
str = getenv("EDEBUG_COREDUMP");
if (str)
Mode.wm.coredump = 1;
+ str = getenv("EDEBUG_EXIT");
+ if (str)
+ Mode.debug_exit = atoi(str);
str = getenv("ECONFNAME");
if (str)
@@ -260,6 +263,9 @@
/* Load the theme */
ThemeConfigLoad();
+ if (Mode.debug_exit)
+ return 0;
+
/* Do initial configuration */
ModulesSignal(ESIGNAL_CONFIGURE, NULL);
|