Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit ce8d88f

Browse files
yury-sJulien Gilli
authored and
Julien Gilli
committed
deps: backport use strict fix for V8 debugger
Backport 2ad2237507c5b5f9047b8d94d2f4997327eae852 from V8. Original commit message: Fix Unhandled ReferenceError in debug-debugger.js This fixes following exception in Sky on attempt to set a breakpoint "Unhandled: Uncaught ReferenceError: break_point is not defined" I think this happens in Sky but not in Chrome because Sky scripts are executed in strict mode. BUG=None LOG=N [email protected] Review URL: https://codereview.chromium.org/741683002 Cr-Commit-Position: refs/heads/master@{#25415}
1 parent 75974e9 commit ce8d88f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/v8/src/debug-debugger.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ ScriptBreakPoint.prototype.set = function (script) {
430430
if (IS_NULL(position)) return;
431431

432432
// Create a break point object and set the break point.
433-
break_point = MakeBreakPoint(position, this);
433+
var break_point = MakeBreakPoint(position, this);
434434
break_point.setIgnoreCount(this.ignoreCount());
435435
var actual_position = %SetScriptBreakPoint(script, position,
436436
this.position_alignment_,

0 commit comments

Comments
 (0)