WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=0f2940cecf172bd54e49e7a64a6b2fd3369a18f6
commit 0f2940cecf172bd54e49e7a64a6b2fd3369a18f6 Author: Xavi Artigas <[email protected]> Date: Thu Jun 14 02:40:40 2018 -0700 Wiki page efl-debug.md changed with summary [Updated EINA_LOG_ABORT usage] by Xavi Artigas --- pages/contrib/efl-debug.md.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pages/contrib/efl-debug.md.txt b/pages/contrib/efl-debug.md.txt index cbd35f887..7af040857 100644 --- a/pages/contrib/efl-debug.md.txt +++ b/pages/contrib/efl-debug.md.txt @@ -127,13 +127,17 @@ EINA_LOG_LEVEL=3 EINA_LOG_LEVELS_GLOB=eina_*:0 myapp This will prevent ``eina_log`` from outputting internal ``eina`` code, thus allowing you to see your own domain messages more easily. -You may also want to enforce crashes when errors occur: ``EINA_ERROR_ABORT` will do this: +You may also want to enforce crashes when errors occur: `EINA_LOG_ABORT` will do this: ```bash -EINA_ERROR_ABORT=1 gdb myapp +EINA_LOG_ABORT=1 gdb myapp ``` -This will now cause the program to abort when it encounters an error of the set level or above, allowing you to poke around with GDB and see why this is happening. +This will now cause the program to abort when it encounters a CRITICAL, allowing you to poke around with `gdb` and see why this is happening. To abort on other error levels use `EINA_LOG_ABORT_LEVEL`. For instance, to abort on all WARNINGS and above (this is, ERRORS and CRITICALS) use: + +```bash +EINA_LOG_ABORT=1 EINA_LOG_ABORT_LEVEL=2 gdb myapp +``` ## Debugging Tools ## --
