[Tizen] Print backtrace when an exception occurs
[platform/core/uifw/dali-core.git] / dali / public-api / common / dali-common.cpp
index 486606a..218f084 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -23,6 +23,8 @@
 #include <cstdio>
 #include <string>
 
+#define BACKTRACE_ENABLED
+
 #if defined(BACKTRACE_ENABLED)
 #if defined(__GLIBC__)
 #include <execinfo.h>