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

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

Issue 1166433008: 2nd attempt at adding streamListen/streamCancel to the service protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix context objects Created 5 years, 6 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/message.dart ('k') | runtime/vm/service/vmservice.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 # Dart VM Service Protocol 1.0 (Draft 1) 1 # Dart VM Service Protocol 1.0 (Draft 1)
2 2
3 This document describes _draft 1_ of _version 1.0_ of the Dart VM 3 This document describes _draft 1_ of _version 1.0_ of the Dart VM
4 Service Protocol. This protocol is used to communicate with a running 4 Service Protocol. This protocol is used to communicate with a running
5 Dart Virtual Machine. 5 Dart Virtual Machine.
6 6
7 To use the Service Protocol, start the VM with the *--observe* flag. 7 To use the Service Protocol, start the VM with the *--observe* flag.
8 The VM will start a webserver which services protocol requests via WebSocket. 8 The VM will start a webserver which services protocol requests via WebSocket.
9 It is possible to make HTTP (non-WebSocket) requests, 9 It is possible to make HTTP (non-WebSocket) requests,
10 but this does not allow access to VM _events_ and is not documented 10 but this does not allow access to VM _events_ and is not documented
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 // The number of variables in this context. 864 // The number of variables in this context.
865 int length; 865 int length;
866 } 866 }
867 ``` 867 ```
868 868
869 ``` 869 ```
870 class Context { 870 class Context {
871 // The number of variables in this context. 871 // The number of variables in this context.
872 int length; 872 int length;
873 873
874 // The enclosing context for this context.
875 Context parent [optional];
876
874 // The variables in this context object. 877 // The variables in this context object.
875 ContextElement[] variables; 878 ContextElement[] variables;
876 } 879 }
877 ``` 880 ```
878 881
879 ### ContextElement 882 ### ContextElement
880 883
881 ``` 884 ```
882 class ContextElement { 885 class ContextElement {
883 @Instance|Sentinel value; 886 @Instance|Sentinel value;
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after
1871 // A list of isolates running in the VM. 1874 // A list of isolates running in the VM.
1872 @Isolate[] isolates 1875 @Isolate[] isolates
1873 } 1876 }
1874 ``` 1877 ```
1875 1878
1876 ## Revision History 1879 ## Revision History
1877 1880
1878 version | comments 1881 version | comments
1879 ------- | -------- 1882 ------- | --------
1880 1.0 draft 1 | initial revision 1883 1.0 draft 1 | initial revision
OLDNEW
« no previous file with comments | « runtime/vm/service/message.dart ('k') | runtime/vm/service/vmservice.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698