Index: Source/bindings/v8/DebuggerScript.js |
diff --git a/Source/bindings/v8/DebuggerScript.js b/Source/bindings/v8/DebuggerScript.js |
index 38e48514b1f1ba9ed85bbc20f7407f97cd7fa869..1c29105e9bc2ce1b561afe4efb212adcc3c1862b 100644 |
--- a/Source/bindings/v8/DebuggerScript.js |
+++ b/Source/bindings/v8/DebuggerScript.js |
@@ -205,6 +205,11 @@ DebuggerScript.setPauseOnExceptionsState = function(newState) |
Debug.clearBreakOnUncaughtException(); |
} |
+DebuggerScript.frameCount = function(execState) |
+{ |
+ return execState.frameCount(); |
+} |
+ |
DebuggerScript.currentCallFrame = function(execState, data) |
{ |
var maximumLimit = data >> 2; |