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

Unified Diff: runtime/observatory/tests/service/service_test_common.dart

Issue 2523053002: Implement rewind: drop one or more frames from the debugger. (Closed)
Patch Set: code review Created 4 years, 1 month 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/observatory/tests/service/service_test_common.dart
diff --git a/runtime/observatory/tests/service/service_test_common.dart b/runtime/observatory/tests/service/service_test_common.dart
index 2a68a528c6b3be88ffd91c24c2f284ea7fa2a59e..243b41a2c4e9583e4d2923ed9ac101e54cae6098 100644
--- a/runtime/observatory/tests/service/service_test_common.dart
+++ b/runtime/observatory/tests/service/service_test_common.dart
@@ -234,6 +234,10 @@ IsolateTest stoppedAtLine(int line) {
return (Isolate isolate) async {
print("Checking we are at line $line");
+ // Make sure that the isolate has stopped.
+ isolate.reload();
+ expect(isolate.pauseEvent is! M.ResumeEvent, isTrue);
+
ServiceMap stack = await isolate.getStack();
expect(stack.type, equals('Stack'));
« no previous file with comments | « runtime/observatory/tests/service/service.status ('k') | runtime/observatory/tests/service/set_vm_name_rpc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698