Index: runtime/observatory/tests/service/source_location_test.dart |
diff --git a/runtime/observatory/tests/service/source_location_test.dart b/runtime/observatory/tests/service/source_location_test.dart |
index 4fe8b0830b1576892169e46b0bc8b4cb43be0681..0704a7663dd64778017195fc658d4b4fb710f9a8 100644 |
--- a/runtime/observatory/tests/service/source_location_test.dart |
+++ b/runtime/observatory/tests/service/source_location_test.dart |
@@ -56,7 +56,7 @@ var tests = [ |
return isolate.rootLibrary.load().then((_) { |
// Listen for breakpoint event. |
Completer completer = new Completer(); |
- isolate.vm.events.stream.listen((ServiceEvent event) { |
+ isolate.vm.debugEvents.listen((ServiceEvent event) { |
if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
completer.complete(); |
} |