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

Unified Diff: test/mjsunit/debug-liveedit-stack-padding.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-patch-positions.js ('k') | test/mjsunit/debug-script.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-liveedit-stack-padding.js
diff --git a/test/mjsunit/debug-liveedit-stack-padding.js b/test/mjsunit/debug-liveedit-stack-padding.js
index 36de3569739be85dee476962cb21d467bfc0aaca..b219e568a74c7e01558fa4d60eaf585e1265f554 100644
--- a/test/mjsunit/debug-liveedit-stack-padding.js
+++ b/test/mjsunit/debug-liveedit-stack-padding.js
@@ -29,6 +29,7 @@
// Get the Debug object exposed from the debug context global object.
Debug = debug.Debug;
+Debug.setListener(listener);
SlimFunction = eval(
"(function() {\n " +
@@ -76,7 +77,6 @@ function listener(event, exec_state, event_data, data) {
}
}
-Debug.setListener(listener);
var animal = SlimFunction();
@@ -86,3 +86,5 @@ if (saved_exception) {
}
assertEquals("Capybara", animal);
+
+Debug.setListener(null);
« no previous file with comments | « test/mjsunit/debug-liveedit-patch-positions.js ('k') | test/mjsunit/debug-script.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698