add log for abort on errors
authorJongmin Lee <jm105.lee@samsung.com>
Thu, 6 Jun 2013 08:54:44 +0000 (17:54 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 05:37:58 +0000 (14:37 +0900)
Change-Id: Ie262390d68170123d1db92202b05b16e76ad4a9a

src/lib/elm_widget.c

index 6607138..f72d2f0 100644 (file)
@@ -330,7 +330,11 @@ _elm_widget_sub_object_del_func(Evas_Object *obj,
              if (getenv("ELM_ERROR_ABORT")) abort_on_warn = 1;
              else abort_on_warn = 0;
           }
-        if (abort_on_warn == 1) abort();
+        if (abort_on_warn == 1)
+          {
+             ERR("### EFL abort on errors ###\n");
+             abort();
+          }
 
         return EINA_FALSE;
      }
@@ -3681,7 +3685,11 @@ elm_widget_is_check(const Evas_Object *obj)
         if (getenv("ELM_ERROR_ABORT")) abort_on_warn = 1;
         else abort_on_warn = 0;
      }
-   if (abort_on_warn == 1) abort();
+   if (abort_on_warn == 1)
+     {
+        ERR("### EFL abort on errors ###\n");
+        abort();
+     }
    return EINA_FALSE;
 }
 
@@ -3718,7 +3726,11 @@ elm_widget_type_check(const Evas_Object *obj,
         if (getenv("ELM_ERROR_ABORT")) abort_on_warn = 1;
         else abort_on_warn = 0;
      }
-   if (abort_on_warn == 1) abort();
+   if (abort_on_warn == 1)
+     {
+        ERR("### EFL abort on errors ###\n");
+        abort();
+     }
    return EINA_FALSE;
 }