cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a3c91d14a9a1de06a9f2c42a1d85804379f7afd0
commit a3c91d14a9a1de06a9f2c42a1d85804379f7afd0 Author: Cedric Bail <ced...@osg.samsung.com> Date: Wed May 9 17:23:20 2018 -0700 eo: improve message for debugging life cycle issues. --- src/lib/eo/eo_base_class.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c index 4c3c409e6e..b7b5f91c00 100644 --- a/src/lib/eo/eo_base_class.c +++ b/src/lib/eo/eo_base_class.c @@ -705,7 +705,7 @@ _efl_object_parent_set(Eo *obj, Efl_Object_Data *pd, Eo *parent_id) // Invalidated object can not be bring back to life if (eo_obj->invalidate || eo_obj->is_invalidating) { - ERR("Call of efl_parent_set(%p, %p) when object is already invalidated.\n", obj, parent_id); + ERR("Call of efl_parent_set(%p, %p) when object of clas '%s' is already invalidated.\n", obj, parent_id, efl_class_name_get(obj)); goto err_impossible; } @@ -2187,6 +2187,8 @@ err_parent_back: return; children: + ERR("Object %p of type '%s' is still holding child at time of destruction.\n", + obj, efl_class_name_get(obj)); EINA_INLIST_FOREACH_SAFE(pd->children, l, obj_child) { Eo *child; --