OLD | NEW |
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 #ifndef VM_SERVICE_EVENT_H_ | 5 #ifndef VM_SERVICE_EVENT_H_ |
6 #define VM_SERVICE_EVENT_H_ | 6 #define VM_SERVICE_EVENT_H_ |
7 | 7 |
8 #include "vm/debugger.h" | 8 #include "vm/debugger.h" |
9 | 9 |
10 class DebuggerEvent; | 10 class DebuggerEvent; |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 | 13 |
14 class ServiceEvent { | 14 class ServiceEvent { |
15 public: | 15 public: |
16 enum EventKind { | 16 enum EventKind { |
17 kIsolateStart, // New isolate has started | 17 kIsolateStart, // New isolate has started |
| 18 kIsolateRunnable, // Isolate is ready to run |
18 kIsolateExit, // Isolate has exited | 19 kIsolateExit, // Isolate has exited |
19 kIsolateUpdate, // Isolate identity information has changed | 20 kIsolateUpdate, // Isolate identity information has changed |
20 | 21 |
21 kPauseStart, // --pause-isolates-on-start | 22 kPauseStart, // --pause-isolates-on-start |
22 kPauseExit, // --pause-isolates-on-exit | 23 kPauseExit, // --pause-isolates-on-exit |
23 kPauseBreakpoint, | 24 kPauseBreakpoint, |
24 kPauseInterrupted, | 25 kPauseInterrupted, |
25 kPauseException, | 26 kPauseException, |
26 kResume, | 27 kResume, |
27 kBreakpointAdded, | 28 kBreakpointAdded, |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 const Object* inspectee_; | 181 const Object* inspectee_; |
181 const Heap::GCStats* gc_stats_; | 182 const Heap::GCStats* gc_stats_; |
182 const uint8_t* bytes_; | 183 const uint8_t* bytes_; |
183 intptr_t bytes_length_; | 184 intptr_t bytes_length_; |
184 LogRecord log_record_; | 185 LogRecord log_record_; |
185 }; | 186 }; |
186 | 187 |
187 } // namespace dart | 188 } // namespace dart |
188 | 189 |
189 #endif // VM_SERVICE_EVENT_H_ | 190 #endif // VM_SERVICE_EVENT_H_ |
OLD | NEW |