Don't ignore first chance debug exceptions since it may be a

breakpoint that we set ourselves.
This commit is contained in:
Alexandre Julliard 2001-10-04 16:17:16 +00:00
parent 88bb926a5e
commit 840434acd0
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ static BOOL DEBUG_HandleException(EXCEPTION_RECORD *rec, BOOL first_chance, BOOL
return TRUE; 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 */ /* pass exception to program except for debug exceptions */
*cont = is_debug ? DBG_CONTINUE : DBG_EXCEPTION_NOT_HANDLED; *cont = is_debug ? DBG_CONTINUE : DBG_EXCEPTION_NOT_HANDLED;