Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Simon Lindholm authored August 15, 2012
6  extension/content/firebug/console/errors.js
@@ -371,8 +371,12 @@ var Errors = Firebug.Errors = Obj.extend(Firebug.Module,
371 371
             correctLineNumbersOnExceptions(object, error);
372 372
         }
373 373
 
374  
-        if (Firebug.showStackTrace && Firebug.errorStackTrace)
  374
+        if (Firebug.errorStackTrace)
  375
+        {
375 376
             error.correctWithStackTrace(Firebug.errorStackTrace);
  377
+            if (!Firebug.showStackTrace)
  378
+                error.trace = null;
  379
+        }
376 380
 
377 381
         var msgId = lessTalkMoreAction(context, object, isWarning);
378 382
         if (!msgId)

0 notes on commit a3ef9a0

Please sign in to comment.
Something went wrong with that request. Please try again.