Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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 ebef3301218ea2d361abc9d16518376348477f17 1 parent 46a15a1
@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.