From 427c11919fee3f02fafd7ce526d23bfc3adf3388 Mon Sep 17 00:00:00 2001 From: Stefan Ginsberg Date: Sat, 12 Sep 2015 22:01:10 +0000 Subject: [PATCH 1/1] [KDBG] Don't bring down the kernel either when int2c-ing from user mode svn path=/trunk/; revision=69210 --- reactos/ntoskrnl/kdbg/kdb.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 :( */ -- 2.17.1