[Pkg-mozext-commits] [firebug] 10/28: Issue 5630: Can't set error breakpoint for shallow error when "Show Stack Trace with Errors" isn't set
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:46:24 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag firebug-1.10.3
in repository firebug.
commit a3ef9a041313f2df8d77d68a464e8a8ebbd25cf8
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date: Wed Aug 15 02:11:33 2012 +0200
Issue 5630: Can't set error breakpoint for shallow error when "Show Stack Trace with Errors" isn't set
http://code.google.com/p/fbug/issues/detail?id=5630
---
extension/content/firebug/console/errors.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/extension/content/firebug/console/errors.js b/extension/content/firebug/console/errors.js
index 7f3c440..e6cfd85 100644
--- a/extension/content/firebug/console/errors.js
+++ b/extension/content/firebug/console/errors.js
@@ -371,8 +371,12 @@ var Errors = Firebug.Errors = Obj.extend(Firebug.Module,
correctLineNumbersOnExceptions(object, error);
}
- if (Firebug.showStackTrace && Firebug.errorStackTrace)
+ if (Firebug.errorStackTrace)
+ {
error.correctWithStackTrace(Firebug.errorStackTrace);
+ if (!Firebug.showStackTrace)
+ error.trace = null;
+ }
var msgId = lessTalkMoreAction(context, object, isWarning);
if (!msgId)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list