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

Unified Diff: test/mjsunit/debug-step-into-json.js

Issue 1525173003: [debugger] remove step count parameter from prepare step. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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-step-into-json.js
diff --git a/test/mjsunit/debug-step-into-json.js b/test/mjsunit/debug-step-into-json.js
index b19850b6dbea5482011a181fbbd51454b203a3ae..d4ba7097c932094a6e964bf976d2724da91fe180 100644
--- a/test/mjsunit/debug-step-into-json.js
+++ b/test/mjsunit/debug-step-into-json.js
@@ -13,8 +13,9 @@ function listener(event, exec_state, event_data, data) {
if (event != Debug.DebugEvent.Break) return;
try {
print(event_data.sourceLineText());
- assertTrue(event_data.sourceLineText().indexOf(`Break ${break_count++}.`) > 0);
- exec_state.prepareStep(Debug.StepAction.StepIn, 1);
+ assertTrue(
+ event_data.sourceLineText().indexOf(`Break ${break_count++}.`) > 0);
+ exec_state.prepareStep(Debug.StepAction.StepIn);
} catch (e) {
exception = e;
}

Powered by Google App Engine
This is Rietveld 408576698