Index: runtime/observatory/tests/service/coverage_test.dart |
diff --git a/runtime/observatory/tests/service/coverage_test.dart b/runtime/observatory/tests/service/coverage_test.dart |
index 6f481100d03a40074aaf089070ec76baa8c361c9..54e90807690e729a67346b1226d79ff488297b4c 100644 |
--- a/runtime/observatory/tests/service/coverage_test.dart |
+++ b/runtime/observatory/tests/service/coverage_test.dart |
@@ -57,7 +57,7 @@ var tests = [ |
return isolate.rootLibrary.load().then((_) { |
// Set up a listener to wait for breakpoint events. |
Completer completer = new Completer(); |
- isolate.vm.debugEvents.listen((ServiceEvent event) { |
+ isolate.vm.events.stream.listen((ServiceEvent event) { |
if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
print('Breakpoint reached'); |
completer.complete(); |