mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:05:49 +00:00
[NTOS:KD] Move dump of stack trace on crash to debugger
Release builds now show again the bugcheck screen, instead of freezing.
This commit is contained in:
parent
fd8cacae4c
commit
76a41370d0
2 changed files with 3 additions and 9 deletions
|
@ -277,6 +277,9 @@ KdpEnterDebuggerException(IN PKTRAP_FRAME TrapFrame,
|
|||
Context,
|
||||
TrapFrame);
|
||||
}
|
||||
|
||||
/* We'll manually dump the stack for the user... */
|
||||
KeRosDumpStackFrames(NULL, 0);
|
||||
#endif /* not KDBG */
|
||||
|
||||
/* Debugger didn't handle it, please handle! */
|
||||
|
|
|
@ -1067,15 +1067,6 @@ KeBugCheckWithTf(IN ULONG BugCheckCode,
|
|||
/* Break in the debugger */
|
||||
KiBugCheckDebugBreak(DBG_STATUS_BUGCHECK_FIRST);
|
||||
}
|
||||
else
|
||||
{
|
||||
/*
|
||||
* ROS HACK.
|
||||
* Ok, so debugging is enabled, but KDBG isn't there.
|
||||
* We'll manually dump the stack for the user.
|
||||
*/
|
||||
KeRosDumpStackFrames(NULL, 0);
|
||||
}
|
||||
}
|
||||
|
||||
/* Raise IRQL to HIGH_LEVEL */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue