Permalink
Browse files

Missing argument

  • Loading branch information...
1 parent 3ff5040 commit cdc8159c612973b05ea34309667ba621dbd6efe2 @janodvarko janodvarko committed Sep 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 extension/content/firebug/debugger/stackFrame.js
@@ -133,14 +133,14 @@ StackFrame.prototype =
this.scopes = [];
+ var cache = this.context.debuggerClient.activeThread.gripCache;
+
// Append 'this' as the first scope. This is not a real 'scope',
// but useful for debugging.
- var thisScope = Grips.Factory.createGrip(this.nativeFrame["this"]);
+ var thisScope = Grips.Factory.createGrip(this.nativeFrame["this"], cache);
thisScope.name = "this";
this.scopes.push(thisScope);
- var cache = this.context.debuggerClient.activeThread.gripCache;
-
// Now iterate all parent scopes. This represents the chain of scopes
// in the Watch panel.
var scope = this.nativeFrame.environment;

0 comments on commit cdc8159

Please sign in to comment.