mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
bug 1100335 - Use OutputDebugString on Windows in js_DumpBacktrace. r=jorendorff
--HG-- extra : rebase_source : 7856d22b24385dc475ce9975da66f3e94ab0b154
This commit is contained in:
parent
997268ff82
commit
7f8a7ef733
@ -3931,6 +3931,11 @@ js_DumpBacktrace(JSContext *cx)
|
||||
script, script->pcToOffset(i.pc()));
|
||||
}
|
||||
fprintf(stdout, "%s", sprinter.string());
|
||||
#ifdef XP_WIN32
|
||||
if (IsDebuggerPresent()) {
|
||||
OutputDebugStringA(sprinter.string());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user