Filter stack in debug output when using debug.stackTrace pref
This commit is contained in:
parent
a70a517f7e
commit
a854ce9dce
1 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ Zotero.Debug = new function () {
|
|||
}
|
||||
|
||||
if (stack) {
|
||||
message += '\n' + Zotero.Debug.stackToString(stack);
|
||||
message += '\n' + this.stackToString(stack);
|
||||
}
|
||||
|
||||
if (_console || _consoleViewer) {
|
||||
|
@ -288,7 +288,7 @@ Zotero.Debug = new function () {
|
|||
+ ':' + stack.lineNumber;
|
||||
stack = stack.caller;
|
||||
}
|
||||
return str.substr(1);
|
||||
return this.filterStack(str).substr(1);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue