summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wintable/new/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/wintable/new/main.c b/wintable/new/main.c
index 7d04efa..347e181 100644
--- a/wintable/new/main.c
+++ b/wintable/new/main.c
@@ -140,10 +140,8 @@ printf("destroy\n");
static void deftablePanic(const char *msg, DWORD lastError)
{
fprintf(stderr, "Table error: %s (last error %d)\n", msg, lastError);
- fprintf(stderr, "This is the default Table error handler function; programs that use Table should provide their own instead.\nThe program will now abort.\n");
-#undef abort
- abort();
-#define abort $$$$
+ fprintf(stderr, "This is the default Table error handler function; programs that use Table should provide their own instead.\nThe program will now break into the debugger.\n");
+ DebugBreak();
}
void initTable(void (*panicfunc)(const char *msg, DWORD lastError))