From 840434acd0dc928681be303397564387c51fdd92 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 4 Oct 2001 16:17:16 +0000 Subject: [PATCH] Don't ignore first chance debug exceptions since it may be a breakpoint that we set ourselves. --- debugger/winedbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debugger/winedbg.c b/debugger/winedbg.c index 2ac92f83ab1..c579c11f2a4 100644 --- a/debugger/winedbg.c +++ b/debugger/winedbg.c @@ -420,7 +420,7 @@ static BOOL DEBUG_HandleException(EXCEPTION_RECORD *rec, BOOL first_chance, BOOL return TRUE; } - if (first_chance && !force && !DBG_IVAR(BreakOnFirstChance)) + if (first_chance && !is_debug && !force && !DBG_IVAR(BreakOnFirstChance)) { /* pass exception to program except for debug exceptions */ *cont = is_debug ? DBG_CONTINUE : DBG_EXCEPTION_NOT_HANDLED; -- 2.11.4.GIT