Index: runtime/observatory/tests/service/break_on_activation_test.dart |
diff --git a/runtime/observatory/tests/service/break_on_activation_test.dart b/runtime/observatory/tests/service/break_on_activation_test.dart |
index 1a1573cf52fb57b118328e1e056bcc1ed879376b..128017fcf9ee6cba29dc51617365ca0216c12285 100644 |
--- a/runtime/observatory/tests/service/break_on_activation_test.dart |
+++ b/runtime/observatory/tests/service/break_on_activation_test.dart |
@@ -57,7 +57,7 @@ var tests = [ |
var subscription; |
subscription = isolate.vm.events.stream.listen((ServiceEvent event) { |
- if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
+ if (event.kind == ServiceEvent.kPauseBreakpoint) { |
print("Hit breakpoint ${event.breakpoint}"); |
breaksHit++; |
isolate.resume(); |
@@ -100,7 +100,7 @@ var tests = [ |
var subscription; |
subscription = isolate.vm.events.stream.listen((ServiceEvent event) { |
- if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
+ if (event.kind == ServiceEvent.kPauseBreakpoint) { |
print("Hit breakpoint ${event.breakpoint}"); |
breaksHit++; |
isolate.resume(); |
@@ -142,7 +142,7 @@ var tests = [ |
var subscription; |
subscription = isolate.vm.events.stream.listen((ServiceEvent event) { |
- if (event.eventType == ServiceEvent.kPauseBreakpoint) { |
+ if (event.kind == ServiceEvent.kPauseBreakpoint) { |
print("Hit breakpoint ${event.breakpoint}"); |
breaksHit++; |
isolate.resume(); |