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