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

Unified Diff: test/mjsunit/debug-liveedit-patch-positions.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
« no previous file with comments | « test/mjsunit/debug-liveedit-breakpoints.js ('k') | test/mjsunit/debug-liveedit-stack-padding.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-liveedit-patch-positions.js
diff --git a/test/mjsunit/debug-liveedit-patch-positions.js b/test/mjsunit/debug-liveedit-patch-positions.js
index b0d3c20d9a745e749e3b87f6a90194f46356137b..c669b5e86252781ba44884996d2c2c16b5bd0337 100644
--- a/test/mjsunit/debug-liveedit-patch-positions.js
+++ b/test/mjsunit/debug-liveedit-patch-positions.js
@@ -33,6 +33,7 @@
// corresponding byte-code PCs should coincide before change and after it.
Debug = debug.Debug
+Debug.setListener(function() {});
eval(
"function F1() { return 5; }\n" +
@@ -124,3 +125,5 @@ print(pcArray2);
if (pcArray1 && pcArray2) {
assertArrayEquals(pcArray1, pcArray2);
}
+
+Debug.setListener(null);
« no previous file with comments | « test/mjsunit/debug-liveedit-breakpoints.js ('k') | test/mjsunit/debug-liveedit-stack-padding.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698