Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Issue 5630: Can't set error breakpoint for shallow error when "Show S…

…tack Trace with Errors" isn't set

http://code.google.com/p/fbug/issues/detail?id=5630
  • Loading branch information...
commit a3ef9a041313f2df8d77d68a464e8a8ebbd25cf8 1 parent 0bf8940
@simonlindholm simonlindholm authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 extension/content/firebug/console/errors.js
View
6 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)
Please sign in to comment.
Something went wrong with that request. Please try again.