We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc34b5a commit 50dae14Copy full SHA for 50dae14
v8-debug.js
@@ -323,6 +323,8 @@ V8Debug.prototype.enableWebkitProtocol = function() {
323
if (maximumLimit < 0) throw new Error('Incorrect stack trace limit.');
324
var data = (maximumLimit << scopeBits) | scopeDetails;
325
var currentCallFrame = DebuggerScript.currentCallFrame(execState, data);
326
+ if (!currentCallFrame) return;
327
+
328
return new JavaScriptCallFrame(currentCallFrame);
329
};
330
0 commit comments