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

Commit 0ff51c6

Browse files
Julien Gillitjfontaine
Julien Gilli
authored andcommitted
deps: backport 2ad2237 from v8 upstream
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 bddea12 commit 0ff51c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/v8/src/debug-debugger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ ScriptBreakPoint.prototype.set = function (script) {
442442
if (position === null) return;
443443

444444
// Create a break point object and set the break point.
445-
break_point = MakeBreakPoint(position, this);
445+
var break_point = MakeBreakPoint(position, this);
446446
break_point.setIgnoreCount(this.ignoreCount());
447447
var actual_position = %SetScriptBreakPoint(script, position, break_point);
448448
if (IS_UNDEFINED(actual_position)) {

0 commit comments

Comments
 (0)