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/debug-evaluate-recursive.js

Issue 21347: Make the debugger completely unload when the debug event listener is unregist... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 10 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/cctest/test-debug.cc ('k') | no next file » | 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 1255)
+++ test/mjsunit/debug-evaluate-recursive.js (working copy)
@@ -153,10 +153,12 @@
// Remove the debug event listener.
Debug.setListener(null);
-// Add debug event listener wich uses recursive breaks.
+// Set debug event listener wich uses recursive breaks.
+Debug.setListener(listener_recurse);
listenerComplete = false;
-Debug.setListener(listener_recurse);
+Debug.setBreakPoint(f, 2, 0);
+
debugger;
// Make sure that the debug event listener vas invoked.
« no previous file with comments | « test/cctest/test-debug.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698