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

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

Issue 1387433002: Ensure that service protocol specification and implementation use the correct numeric types (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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') | no next file » | 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 3.0 1 # Dart VM Service Protocol 3.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 3.0_ of the Dart VM Service Protocol. This 5 This document describes of _version 3.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 2111 matching lines...) Expand 10 before | Expand all | Expand 10 after
2122 // The CPU we are generating code for. 2122 // The CPU we are generating code for.
2123 string targetCPU; 2123 string targetCPU;
2124 2124
2125 // The CPU we are actually running on. 2125 // The CPU we are actually running on.
2126 string hostCPU; 2126 string hostCPU;
2127 2127
2128 // The Dart VM version string. 2128 // The Dart VM version string.
2129 string version; 2129 string version;
2130 2130
2131 // The process id for the VM. 2131 // The process id for the VM.
2132 string pid; 2132 int pid;
2133 2133
2134 // The time that the VM started in milliseconds since the epoch. 2134 // The time that the VM started in milliseconds since the epoch.
2135 // 2135 //
2136 // Suitable to pass to DateTime.fromMillisecondsSinceEpoch. 2136 // Suitable to pass to DateTime.fromMillisecondsSinceEpoch.
2137 int startTime; 2137 int startTime;
2138 2138
2139 // A list of isolates running in the VM. 2139 // A list of isolates running in the VM.
2140 @Isolate[] isolates; 2140 @Isolate[] isolates;
2141 } 2141 }
2142 ``` 2142 ```
2143 2143
2144 ## Revision History 2144 ## Revision History
2145 2145
2146 version | comments 2146 version | comments
2147 ------- | -------- 2147 ------- | --------
2148 1.0 | initial revision 2148 1.0 | initial revision
2149 2.0 | Describe protocol version 2.0. 2149 2.0 | Describe protocol version 2.0.
2150 3.0 | Describe protocol version 3.0. Added UnresolvedSourceLocation. Added Sen tinel return to getIsolate. Add AddedBreakpointWithScriptUri. Removed Isolate. entry. 2150 3.0 | Describe protocol version 3.0. Added UnresolvedSourceLocation. Added Sen tinel return to getIsolate. Add AddedBreakpointWithScriptUri. Removed Isolate. entry. The type of VM.pid was changed from string to int.
2151 2151
2152 2152
2153 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato ry-discuss 2153 [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') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698