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 EventType { | 16 enum EventType { |
17 kIsolateStart, // New isolate has started | 17 kIsolateStart, // New isolate has started |
18 kIsolateExit, // Isolate has exited | 18 kIsolateExit, // Isolate has exited |
| 19 kIsolateUpdate, // Isolate identity information has changed |
19 | 20 |
20 kPauseStart, // --pause-isolates-on-start | 21 kPauseStart, // --pause-isolates-on-start |
21 kPauseExit, // --pause-isolates-on-exit | 22 kPauseExit, // --pause-isolates-on-exit |
22 kPauseBreakpoint, | 23 kPauseBreakpoint, |
23 kPauseInterrupted, | 24 kPauseInterrupted, |
24 kPauseException, | 25 kPauseException, |
25 kResume, | 26 kResume, |
26 | 27 |
27 kBreakpointAdded, | 28 kBreakpointAdded, |
28 kBreakpointResolved, | 29 kBreakpointResolved, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 Isolate* isolate_; | 83 Isolate* isolate_; |
83 EventType type_; | 84 EventType type_; |
84 SourceBreakpoint* breakpoint_; | 85 SourceBreakpoint* breakpoint_; |
85 ActivationFrame* top_frame_; | 86 ActivationFrame* top_frame_; |
86 const Object* exception_; | 87 const Object* exception_; |
87 }; | 88 }; |
88 | 89 |
89 } // namespace dart | 90 } // namespace dart |
90 | 91 |
91 #endif // VM_SERVICE_EVENT_H_ | 92 #endif // VM_SERVICE_EVENT_H_ |
OLD | NEW |