Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: test/mjsunit/regress/regress-debug-code-recompilation.js

Issue 1181013007: Debugger: require debugger to be active when dealing with breaks. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix yet another test Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/mjsunit/regress/regress-debug-code-recompilation.js
diff --git a/test/mjsunit/regress/regress-debug-code-recompilation.js b/test/mjsunit/regress/regress-debug-code-recompilation.js
index 4723ec130734db46bafde3e3051e6637a2cea0fc..2f81d0cb5479daaeeeb7025e8ed209364e568e48 100644
--- a/test/mjsunit/regress/regress-debug-code-recompilation.js
+++ b/test/mjsunit/regress/regress-debug-code-recompilation.js
@@ -29,6 +29,7 @@
// Flags: --expose-debug-as debug
Debug = debug.Debug
+Debug.setListener(function(){});
function f() {a=1;b=2};
function g() {
@@ -46,3 +47,5 @@ Debug.clearBreakPoint(bp);
%OptimizeFunctionOnNextCall(Debug.setBreakPoint);
bp = Debug.setBreakPoint(f, 0, 0);
Debug.clearBreakPoint(bp);
+
+Debug.setListener(null);
« no previous file with comments | « test/mjsunit/regress/regress-crbug-474297.js ('k') | test/mjsunit/regress/regress-prepare-break-while-recompile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698