From 69e27488f7f49480de113cbb5f6a2cf00c4e2e2d Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 17 May 2015 18:53:49 -0400 Subject: [PATCH] Made complain() break into the debugger on Windows because abort() is eaten up and seen as successful termination. --- redo/windows/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redo/windows/util.c b/redo/windows/util.c index b9bdf29b..9ca6a7d3 100644 --- a/redo/windows/util.c +++ b/redo/windows/util.c @@ -82,7 +82,8 @@ void complain(const char *fmt, ...) vfprintf(stderr, fmt, ap); fprintf(stderr, "\n"); va_end(ap); - abort(); + DebugBreak(); + abort(); // just in case } // wrapper around MapWindowRect() that handles the complex error handling