mirror of
https://github.com/reactos/reactos.git
synced 2024-08-29 22:58:34 +00:00
- Added stack trace reporting in exception handler.
svn path=/trunk/; revision=6479
This commit is contained in:
parent
65a44fd9e2
commit
f18cbd53ba
|
@ -1,4 +1,4 @@
|
|||
/* $Id: create.c,v 1.71 2003/10/06 17:53:55 navaraf Exp $
|
||||
/* $Id: create.c,v 1.72 2003/10/31 16:27:01 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -328,6 +328,19 @@ _except_handler(
|
|||
DPRINT1("Process terminated abnormally due to unhandled exception\n");
|
||||
DPRINT1("Address: %x\n", ExceptionRecord->ExceptionAddress);
|
||||
|
||||
#ifdef _X86_
|
||||
{
|
||||
PULONG Frame;
|
||||
DPRINT1("Frames:\n");
|
||||
Frame = (PULONG)((CONTEXT *)ContextRecord)->Ebp;
|
||||
while (Frame != NULL && Frame != (PULONG)0xdeadbeef)
|
||||
{
|
||||
DPRINT1("%x\n", (PVOID)Frame[1]);
|
||||
Frame = (PULONG)Frame[0];
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (3 < ++_except_recursion_trap)
|
||||
{
|
||||
DPRINT1("_except_handler(...) appears to be recursing.\n");
|
||||
|
|
Loading…
Reference in a new issue