[Bf-blender-cvs] [2f87db6] master: Debug: print output on --debug-fpe
Campbell Barton
noreply at git.blender.org
Wed Nov 5 13:30:15 CET 2014
Commit: 2f87db681ad9fe161573e858ed7486e00a9f77f1
Author: Campbell Barton
Date: Wed Nov 5 12:27:38 2014 +0100
Branches: master
https://developer.blender.org/rB2f87db681ad9fe161573e858ed7486e00a9f77f1
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.
===================================================================
M source/creator/creator.c
===================================================================
diff --git a/source/creator/creator.c b/source/creator/creator.c
index d779095..60fa006 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
More information about the Bf-blender-cvs
mailing list