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

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

Issue 1302313003: Static analysis fixes and debug prints for wedging test (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « runtime/bin/vmservice_impl.cc ('k') | runtime/vm/disassembler_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/pause_on_start_then_step_test.dart
diff --git a/runtime/observatory/tests/service/pause_on_start_then_step_test.dart b/runtime/observatory/tests/service/pause_on_start_then_step_test.dart
index 20e91c5a196270e907a80145d882c8fb561104bf..316667f736ba26423f2deaa43f6a4f40a2441b86 100644
--- a/runtime/observatory/tests/service/pause_on_start_then_step_test.dart
+++ b/runtime/observatory/tests/service/pause_on_start_then_step_test.dart
@@ -29,7 +29,9 @@ var tests = [
isolate.pauseEvent.kind == ServiceEvent.kPauseStart) {
// Wait for the isolate to hit PauseStart.
subscription.cancel();
+ print('subscription cancelled.');
} else {
+ print('waiting for pause start event.');
await completer.future;
}
@@ -41,12 +43,14 @@ var tests = [
subscription.cancel();
completer.complete();
}
+ print('Got ${event.kind}');
});
print('Stepping...');
isolate.stepInto();
// Wait for the isolate to hit PauseBreakpoint.
+ print('Waiting for PauseBreakpoint');
await completer.future;
},
« no previous file with comments | « runtime/bin/vmservice_impl.cc ('k') | runtime/vm/disassembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698