reactos/ntoskrnl/ke
diff -u -r1.42.8.1 -r1.42.8.2
--- catch.c 26 Jun 2004 00:49:38 -0000 1.42.8.1
+++ catch.c 26 Jun 2004 00:57:48 -0000 1.42.8.2
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: catch.c,v 1.42.8.1 2004/06/26 00:49:38 hyperion Exp $
+/* $Id: catch.c,v 1.42.8.2 2004/06/26 00:57:48 hyperion Exp $
*
* PROJECT: ReactOS kernel
* FILE: ntoskrnl/ke/catch.c
@@ -99,8 +99,6 @@
Action = KdEnterDebuggerException (ExceptionRecord, Context, Tf);
}
- if(NtCurrentTeb()->Tib.ExceptionList != ExceptionList) DbgBreakPoint();
-
#ifdef KDBG
else if (KdDebuggerEnabled && KdDebugState & KD_DEBUG_KDB)
{
@@ -111,6 +109,9 @@
}
}
#endif /* KDBG */
+
+ if(NtCurrentTeb()->Tib.ExceptionList != ExceptionList) DbgBreakPoint();
+
if (Action != kdHandleException)
{
if (PreviousMode == UserMode)