diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-05 14:27:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-05 15:30:24 +0300 |
commit | 2f87db681ad9fe161573e858ed7486e00a9f77f1 (patch) | |
tree | 09295eb277a7ab909c86a502d55d00179adbf853 /source/creator | |
parent | 3f68a0aea5c973531a23df8e80f15ded79a2f12a (diff) |
Debug: print output on --debug-fpe
in practice often we want to breakpoint here (instead of flooding output)
but its confusing the option does nothing in release builds.
Devs can comment out locally.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index d779095c1ee..60fa006ad08 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -202,7 +202,7 @@ static bool use_crash_handler = true; #if defined(__linux__) || defined(_WIN32) || defined(OSX_SSE_FPE) static void fpe_handler(int UNUSED(sig)) { - // printf("SIGFPE trapped\n"); + fprintf(stderr, "debug: SIGFPE trapped\n"); } #endif |