mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1101083 - js_DumpBacktrace should dump all frames (r=bholley,nbp)
This commit is contained in:
parent
768e5c4d9b
commit
4eeb9ffd27
@ -4153,7 +4153,7 @@ js_DumpBacktrace(JSContext *cx)
|
||||
Sprinter sprinter(cx);
|
||||
sprinter.init();
|
||||
size_t depth = 0;
|
||||
for (ScriptFrameIter i(cx); !i.done(); ++i, ++depth) {
|
||||
for (AllFramesIter i(cx); !i.done(); ++i, ++depth) {
|
||||
const char *filename = JS_GetScriptFilename(i.script());
|
||||
unsigned line = PCToLineNumber(i.script(), i.pc());
|
||||
JSScript *script = i.script();
|
||||
|
Loading…
Reference in New Issue
Block a user