From: Stefan Ginsberg Date: Sat, 12 Sep 2015 22:01:10 +0000 (+0000) Subject: [KDBG] Don't bring down the kernel either when int2c-ing from user mode X-Git-Tag: ReactOS-0.4.0~837 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=427c11919fee3f02fafd7ce526d23bfc3adf3388;hp=2c81e1e2b11bb8a4fafda06f5c0817a8df4894a0 [KDBG] Don't bring down the kernel either when int2c-ing from user mode svn path=/trunk/; revision=69210 --- diff --git a/reactos/ntoskrnl/kdbg/kdb.c b/reactos/ntoskrnl/kdbg/kdb.c index 2ebf409a563..3da12cccae2 100644 --- a/reactos/ntoskrnl/kdbg/kdb.c +++ b/reactos/ntoskrnl/kdbg/kdb.c @@ -1371,8 +1371,12 @@ KdbEnterDebuggerException( KdbCurrentProcess = PsGetCurrentProcess(); /* Set continue type to kdContinue for single steps and breakpoints */ - if (ExceptionCode == STATUS_SINGLE_STEP || ExceptionCode == STATUS_BREAKPOINT) + if (ExceptionCode == STATUS_SINGLE_STEP || + ExceptionCode == STATUS_BREAKPOINT || + ExceptionCode == STATUS_ASSERTION_FAILURE) + { ContinueType = kdContinue; + } /* Check if we should handle the exception. */ /* FIXME - won't get all exceptions here :( */