OLD | NEW |
---|---|
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 2083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2094 // The CPU we are generating code for. | 2094 // The CPU we are generating code for. |
2095 string targetCPU; | 2095 string targetCPU; |
2096 | 2096 |
2097 // The CPU we are actually running on. | 2097 // The CPU we are actually running on. |
2098 string hostCPU; | 2098 string hostCPU; |
2099 | 2099 |
2100 // The Dart VM version string. | 2100 // The Dart VM version string. |
2101 string version; | 2101 string version; |
2102 | 2102 |
2103 // The process id for the VM. | 2103 // The process id for the VM. |
2104 string pid; | 2104 int pid; |
2105 | 2105 |
2106 // The time that the VM started in milliseconds since the epoch. | 2106 // The time that the VM started in milliseconds since the epoch. |
2107 // | 2107 // |
2108 // Suitable to pass to DateTime.fromMillisecondsSinceEpoch. | 2108 // Suitable to pass to DateTime.fromMillisecondsSinceEpoch. |
2109 int startTime; | 2109 int startTime; |
2110 | 2110 |
2111 // A list of isolates running in the VM. | 2111 // A list of isolates running in the VM. |
2112 @Isolate[] isolates; | 2112 @Isolate[] isolates; |
2113 } | 2113 } |
2114 ``` | 2114 ``` |
2115 | 2115 |
2116 ## Revision History | 2116 ## Revision History |
2117 | 2117 |
2118 version | comments | 2118 version | comments |
2119 ------- | -------- | 2119 ------- | -------- |
2120 1.0 draft 1 | initial revision | 2120 1.0 draft 1 | initial revision |
2121 1.1 | Describe protocol version 2.0. | 2121 1.1 | Describe protocol version 2.0. |
2122 1.2 | Describe protocol version 3.0. Added UnresolvedSourceLocation. Added Sen tinel return to getIsolate. | 2122 1.2 | Describe protocol version 3.0. Added UnresolvedSourceLocation. Added Sen tinel return to getIsolate. |
turnidge
2015/10/01 17:52:58
Add something here: "Changed pid from string to in
Cutch
2015/10/01 17:54:19
Done.
| |
2123 | 2123 |
2124 | 2124 |
2125 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato ry-discuss | 2125 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato ry-discuss |
OLD | NEW |