Closed Bug 13427 Opened 25 years ago Closed 25 years ago

xpconnect needs C++ callable 'DumpStack'

Categories

(Core :: XPConnect, defect, P3)

x86
Windows NT
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jband_mozilla, Assigned: jband_mozilla)

Details

Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fix checked in.
In a debug build the following C++ code will dump the JS call stack...

nsresult rv;
NS_WITH_SERVICE(nsIXPConnect, xpc, nsIXPConnect::GetCID(), &rv);
if(NS_SUCCEEDED(rv))
    xpc->DebugDumpJSStack();
You need to log in before you can comment on or make changes to this bug.