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

Side by Side Diff: runtime/vm/service/service.md

Issue 1311503004: Remember when an isolate was paused and subtly display it in Obseravatory (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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.cc ('k') | runtime/vm/service_event.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Dart VM Service Protocol 2.0 1 # Dart VM Service Protocol 2.0
2 2
3 > Please post feedback to the [observatory-discuss group][discuss-list] 3 > Please post feedback to the [observatory-discuss group][discuss-list]
4 4
5 This document describes of _version 2.0_ of the Dart VM Service Protocol. This 5 This document describes of _version 2.0_ of the Dart VM Service Protocol. This
6 protocol is used to communicate with a running Dart Virtual Machine. 6 protocol is used to communicate with a running Dart Virtual Machine.
7 7
8 To use the Service Protocol, start the VM with the *--observe* flag. 8 To use the Service Protocol, start the VM with the *--observe* flag.
9 The VM will start a webserver which services protocol requests via WebSocket. 9 The VM will start a webserver which services protocol requests via WebSocket.
10 It is possible to make HTTP (non-WebSocket) requests, 10 It is possible to make HTTP (non-WebSocket) requests,
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 ### Event 952 ### Event
953 953
954 ``` 954 ```
955 class Event extends Response { 955 class Event extends Response {
956 // What kind of event is this? 956 // What kind of event is this?
957 EventKind kind; 957 EventKind kind;
958 958
959 // The isolate with which this event is associated. 959 // The isolate with which this event is associated.
960 @Isolate isolate; 960 @Isolate isolate;
961 961
962 // The timestamp (in milliseconds since the epoch) associated with this event.
963 // For some isolate pause events, the timestamp is from when the isolate was
964 // paused. For other events, the timestamp is from when the event was created.
nweiz 2015/09/10 22:45:13 Which events are which?
965 int timestamp;
966
962 // The breakpoint which was added, removed, or resolved. 967 // The breakpoint which was added, removed, or resolved.
963 // 968 //
964 // This is provided for the event kinds: 969 // This is provided for the event kinds:
965 // PauseBreakpoint 970 // PauseBreakpoint
966 // BreakpointAdded 971 // BreakpointAdded
967 // BreakpointRemoved 972 // BreakpointRemoved
968 // BreakpointResolved 973 // BreakpointResolved
969 Breakpoint breakpoint [optional]; 974 Breakpoint breakpoint [optional];
970 975
971 // The list of breakpoints at which we are currently paused 976 // The list of breakpoints at which we are currently paused
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after
1999 ``` 2004 ```
2000 2005
2001 ## Revision History 2006 ## Revision History
2002 2007
2003 version | comments 2008 version | comments
2004 ------- | -------- 2009 ------- | --------
2005 1.0 draft 1 | initial revision 2010 1.0 draft 1 | initial revision
2006 2011
2007 2012
2008 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato ry-discuss 2013 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato ry-discuss
OLDNEW
« no previous file with comments | « runtime/vm/service.cc ('k') | runtime/vm/service_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698