diff --git a/chrome/content/zotero/xpcom/debug.js b/chrome/content/zotero/xpcom/debug.js index 0e5468f59..ea9caf6f7 100644 --- a/chrome/content/zotero/xpcom/debug.js +++ b/chrome/content/zotero/xpcom/debug.js @@ -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); };