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

Unified Diff: test/mjsunit/debug-enable-disable-breakpoints.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-continue.js ('k') | test/mjsunit/debug-evaluate.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-enable-disable-breakpoints.js
===================================================================
--- test/mjsunit/debug-enable-disable-breakpoints.js (revision 1198)
+++ test/mjsunit/debug-enable-disable-breakpoints.js (working copy)
@@ -39,7 +39,7 @@
};
// Add the debug event listener.
-Debug.addListener(listener);
+Debug.setListener(listener);
// Test function.
function f() {a=1;b=2;};
« no previous file with comments | « test/mjsunit/debug-continue.js ('k') | test/mjsunit/debug-evaluate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698