send SIGSTOP to sandbox gadgets on load if RUNNER_DEBUG env var is set

This commit is contained in:
Mike Blumenkrantz 2017-10-20 16:03:46 -04:00
parent e2b0c045b5
commit 528e25e0bb
1 changed files with 10 additions and 0 deletions

View File

@ -275,6 +275,16 @@ win_add(Evas_Object *win)
return win;
}
int
eina_init(void)
{
int (*_eina_init)(void) = dlsym(RTLD_NEXT, __func__);
if (wins) return _eina_init();
if (getenv("RUNNER_DEBUG")) raise(SIGSTOP);
return _eina_init();
}
Evas_Object *
elm_win_util_dialog_add(Evas_Object *parent, const char *name, const char *title)
{