| Index: Source/bindings/dart/DartDebugHooks.js
|
| diff --git a/Source/bindings/dart/DartDebugHooks.js b/Source/bindings/dart/DartDebugHooks.js
|
| index c55cfd35bc8ecfb3d70285dcca1e80816fb84cf6..8831a715533b6e475c28584726cce5e01b9bf9e2 100644
|
| --- a/Source/bindings/dart/DartDebugHooks.js
|
| +++ b/Source/bindings/dart/DartDebugHooks.js
|
| @@ -105,6 +105,7 @@ DartDebug.Script.prototype = {
|
|
|
| DartDebug.FrameMirror = function(callFrame)
|
| {
|
| + this._callFrame = callFrame;
|
| this._functionName = callFrame.functionName;
|
| this._scriptId = DartDebug.scriptURLToScriptId[callFrame.scriptURL];
|
| this._lineNumber = callFrame.lineNumber;
|
| @@ -155,8 +156,9 @@ DartDebug.FrameMirror.prototype = {
|
| expression = expression.substr(0, expression.lastIndexOf('\n'));
|
| }
|
|
|
| - var result = DartDebug.nativeCallbacks.evaluateInScope(expression, this._localScope.receiver(),
|
| - this._globalScope._object, this._localScope._object);
|
| + var result = DartDebug.nativeCallbacks.invocationTrampoline(
|
| + DartDebug.nativeCallbacks.evaluateInScope,
|
| + [expression, this._localScope.receiver(), this._callFrame.functionProxy, this._callFrame.localVariables]);
|
| return { value: function() { return result; } };
|
| },
|
|
|
|
|