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

Unified Diff: test/mjsunit/debug-evaluate-recursive.js

Issue 19753: Changed the debugger API to allow only one debug event listener to be registe... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 11 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-evaluate-locals.js ('k') | test/mjsunit/debug-evaluate-with.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-evaluate-recursive.js
===================================================================
--- test/mjsunit/debug-evaluate-recursive.js (revision 1198)
+++ test/mjsunit/debug-evaluate-recursive.js (working copy)
@@ -129,7 +129,7 @@
};
// Add the debug event listener.
-Debug.addListener(listener);
+Debug.setListener(listener);
// Test functions - one with break point and one with debugger statement.
function f() {
@@ -151,11 +151,11 @@
assertFalse(exception, "exception in listener")
// Remove the debug event listener.
-Debug.removeListener(listener);
+Debug.setListener(null);
// Add debug event listener wich uses recursive breaks.
listenerComplete = false;
-Debug.addListener(listener_recurse);
+Debug.setListener(listener_recurse);
debugger;
« no previous file with comments | « test/mjsunit/debug-evaluate-locals.js ('k') | test/mjsunit/debug-evaluate-with.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698