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

Unified Diff: test/mjsunit/debug-stepframe-clearing.js

Issue 1222093007: Debugger: use debug break slot to break on call. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix mips Created 5 years, 5 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
Index: test/mjsunit/debug-stepframe-clearing.js
diff --git a/test/mjsunit/debug-stepframe-clearing.js b/test/mjsunit/debug-stepframe-clearing.js
index c440e78dd2d296ef42c909468aa6eaff66837db6..a0774ccee272b33366db3fd63af65605504ea5d8 100644
--- a/test/mjsunit/debug-stepframe-clearing.js
+++ b/test/mjsunit/debug-stepframe-clearing.js
@@ -17,7 +17,7 @@ function f1() {
} // Line 6
print("break here"); // Break 3
} // Line 8
- print("exiting f1"); // Line 9 (dummy break)
+ print("exiting f1"); // Break 4
}
function get() {
@@ -61,7 +61,7 @@ function listener(event, exec_state, event_data, data) {
exec_state.prepareStep(Debug.StepAction.StepFrame, 1);
} else {
assertEquals(4, break_count);
- assertEquals(2, match_value);
+ assertEquals(4, match_value);
// Apparently we can still stop in the accessor even though we cleared
// breakpoints earlier and there was a monomorphic step.
// Allow running to completion now.

Powered by Google App Engine
This is Rietveld 408576698