summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-11-07 15:50:13 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-11-07 16:08:39 -0800
commit4f70a295801b5fd7600d43b3aaa90241165c4ac5 (patch)
treea32c9a67dfa1697eb222cd7f941a850319fd23b9
parente729d6b994ef27e4299ac3719da976855a8db907 (diff)
elementary: add debugging information to quicklaunch binary.
-rw-r--r--src/bin/elementary/quicklaunch.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/bin/elementary/quicklaunch.c b/src/bin/elementary/quicklaunch.c
index 765806e823..b7fec56740 100644
--- a/src/bin/elementary/quicklaunch.c
+++ b/src/bin/elementary/quicklaunch.c
@@ -109,6 +109,7 @@ handle_run(int fd, unsigned long bytes)
CRI("no bytes to quicklaunch");
return;
}
+ DBG("Starting building up process.");
_elm_startup_time = ecore_time_unix_get();
buf = alloca(bytes);
@@ -157,9 +158,15 @@ handle_run(int fd, unsigned long bytes)
}
}
#endif
+
+ INF("Requested to run '%s' with %i arguments and %i environment.",
+ argv[0], argc - 1, envnum);
// Try new form before trying old form
if (!efl_quicklaunch_prepare(argc, argv, cwd))
- elm_quicklaunch_prepare(argc, argv, cwd);
+ {
+ WRN("Failed to prepare with new EFL_MAIN macro, switching to legacy.");
+ elm_quicklaunch_prepare(argc, argv, cwd);
+ }
elm_quicklaunch_fork(argc, argv, cwd, post_fork, NULL);
elm_quicklaunch_cleanup();
@@ -329,6 +336,8 @@ main(int argc, char **argv)
len = sizeof(struct sockaddr_un);
fd = accept(sock, (struct sockaddr *)&client, &len);
+
+ DBG("Accepting connection.");
elm_quicklaunch_sub_init(argc, argv);
// don't seed since we are doing this AFTER launch request
// elm_quicklaunch_seed();