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

Side by Side Diff: lib/src/pause_event.dart

Issue 1929063002: pkg/vm_service_client: add getSourceReport to VMServiceReference (Closed) Base URL: https://github.com/dart-lang/vm_service_client.git@master
Patch Set: nits Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « lib/src/isolate.dart ('k') | lib/src/script.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'breakpoint.dart'; 5 import 'breakpoint.dart';
6 import 'frame.dart'; 6 import 'frame.dart';
7 import 'instance.dart'; 7 import 'instance.dart';
8 import 'scope.dart'; 8 import 'scope.dart';
9 9
10 VMPauseEvent newVMPauseEvent(Scope scope, Map json) { 10 VMPauseEvent newVMPauseEvent(Scope scope, Map json) {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 /// 85 ///
86 /// This usually means its process received `SIGQUIT`. 86 /// This usually means its process received `SIGQUIT`.
87 class VMPauseInterruptedEvent extends VMPauseEvent { 87 class VMPauseInterruptedEvent extends VMPauseEvent {
88 VMPauseInterruptedEvent._(Scope scope, Map json) 88 VMPauseInterruptedEvent._(Scope scope, Map json)
89 : super._(scope, json); 89 : super._(scope, json);
90 90
91 String toString() => "pause on interrupt"; 91 String toString() => "pause on interrupt";
92 } 92 }
93 93
94 /// An event indicating that an isolate was paused due to an exception. 94 /// An event indicating that an isolate was paused due to an exception.
95 /// An event indicating that an isolate was paused due to an exception.
96 class VMPauseExceptionEvent extends VMPauseEvent { 95 class VMPauseExceptionEvent extends VMPauseEvent {
97 /// The exception that caused the isolate to become paused. 96 /// The exception that caused the isolate to become paused.
98 final VMInstanceRef exception; 97 final VMInstanceRef exception;
99 98
100 VMPauseExceptionEvent._(Scope scope, Map json) 99 VMPauseExceptionEvent._(Scope scope, Map json)
101 : exception = newVMInstanceRef(scope, json["exception"]), 100 : exception = newVMInstanceRef(scope, json["exception"]),
102 super._(scope, json); 101 super._(scope, json);
103 102
104 String toString() => "pause on exception"; 103 String toString() => "pause on exception";
105 } 104 }
106 105
107 /// An event indicating that an isolate was unpaused. 106 /// An event indicating that an isolate was unpaused.
108 class VMResumeEvent extends VMPauseEvent { 107 class VMResumeEvent extends VMPauseEvent {
109 VMResumeEvent._(Scope scope, Map json) 108 VMResumeEvent._(Scope scope, Map json)
110 : super._(scope, json); 109 : super._(scope, json);
111 110
112 String toString() => "resume"; 111 String toString() => "resume";
113 } 112 }
114 113
115 /// An event indicating that an isolate was unpaused. 114 /// An event indicating that an isolate was unpaused.
116 class VMNoneEvent extends VMPauseEvent { 115 class VMNoneEvent extends VMPauseEvent {
117 VMNoneEvent._(Scope scope, Map json) 116 VMNoneEvent._(Scope scope, Map json)
118 : super._(scope, json); 117 : super._(scope, json);
119 118
120 String toString() => "none"; 119 String toString() => "none";
121 } 120 }
OLDNEW
« no previous file with comments | « lib/src/isolate.dart ('k') | lib/src/script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698