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

Side by Side Diff: runtime/vm/service_event.h

Issue 1293383011: Add an IsolateRunnable event to the service protocol. Improve service docs. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 | « runtime/vm/service/service.md ('k') | runtime/vm/service_event.cc » ('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 #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
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_
OLDNEW
« no previous file with comments | « runtime/vm/service/service.md ('k') | runtime/vm/service_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698