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

Unified Diff: runtime/vm/debugger_api_impl_test.cc

Issue 1237203002: Insert debug step check at the beginning of a function. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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: runtime/vm/debugger_api_impl_test.cc
diff --git a/runtime/vm/debugger_api_impl_test.cc b/runtime/vm/debugger_api_impl_test.cc
index 925e95afbe5201016a18972c192674d1616ed533..e539374da801f097646a4e454102d487fd8149bc 100644
--- a/runtime/vm/debugger_api_impl_test.cc
+++ b/runtime/vm/debugger_api_impl_test.cc
@@ -658,17 +658,21 @@ TEST_CASE(Debug_StepOut) {
}
static const char* step_into_expected_bpts[] = {
- "main",
- "foo",
- "f1",
- "foo",
- "foo",
- "X.kvmk",
- "f2",
- "X.kvmk",
- "X.kvmk",
- "foo",
- "main"
+ "main", // entry
+ "main", // call foo
+ "foo", // entry
+ "foo", // call f1
+ "f1", // entry
+ "foo", // call initializer
+ "foo", // call kvmk
+ "X.kvmk", // entry
+ "X.kvmk", // call
+ "f2", // entry
+ "f2", // return
+ "X.kvmk", // call +
+ "X.kvmk", // return
+ "foo", // return
+ "main" // return
};
void TestStepIntoHandler(Dart_IsolateId isolate_id,

Powered by Google App Engine
This is Rietveld 408576698