mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00
Bug 434076 - Give me stack traces and give me death! (aborts should print a stack trace before aborting) r=dbaron
This commit is contained in:
parent
955b24f440
commit
b15e8f4da9
@ -323,6 +323,7 @@ NS_DebugBreak(PRUint32 aSeverity, const char *aStr, const char *aExpr,
|
||||
return;
|
||||
|
||||
case NS_DEBUG_ABORT:
|
||||
nsTraceRefcntImpl::WalkTheStack(stderr);
|
||||
Abort(buf.buffer);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user