| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 - [Class](#class) | 51 - [Class](#class) |
| 52 - [ClassList](#classlist) | 52 - [ClassList](#classlist) |
| 53 - [Code](#code) | 53 - [Code](#code) |
| 54 - [CodeKind](#codekind) | 54 - [CodeKind](#codekind) |
| 55 - [Context](#context) | 55 - [Context](#context) |
| 56 - [ContextElement](#contextelement) | 56 - [ContextElement](#contextelement) |
| 57 - [Error](#error) | 57 - [Error](#error) |
| 58 - [ErrorKind](#errorkind) | 58 - [ErrorKind](#errorkind) |
| 59 - [Event](#event) | 59 - [Event](#event) |
| 60 - [EventKind](#eventkind) | 60 - [EventKind](#eventkind) |
| 61 - [ExtensionData](#extensiondata) | 61 » - [ExtensionData](#extensiondata) |
| 62 - [Field](#field) | 62 - [Field](#field) |
| 63 - [Flag](#flag) | 63 - [Flag](#flag) |
| 64 - [FlagList](#flaglist) | 64 - [FlagList](#flaglist) |
| 65 - [Frame](#frame) | 65 - [Frame](#frame) |
| 66 - [Function](#function) | 66 - [Function](#function) |
| 67 - [Instance](#instance) | 67 - [Instance](#instance) |
| 68 - [Isolate](#isolate) | 68 - [Isolate](#isolate) |
| 69 - [Library](#library) | 69 - [Library](#library) |
| 70 - [LibraryDependency](#librarydependency) | 70 - [LibraryDependency](#librarydependency) |
| 71 - [MapAssociation](#mapassociation) | 71 - [MapAssociation](#mapassociation) |
| (...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1579 | 1579 |
| 1580 // The fields of this Instance. | 1580 // The fields of this Instance. |
| 1581 BoundField[] fields [optional]; | 1581 BoundField[] fields [optional]; |
| 1582 | 1582 |
| 1583 // The elements of a List instance. | 1583 // The elements of a List instance. |
| 1584 // | 1584 // |
| 1585 // Provided for instance kinds: | 1585 // Provided for instance kinds: |
| 1586 // List | 1586 // List |
| 1587 (@Instance|Sentinel)[] elements [optional]; | 1587 (@Instance|Sentinel)[] elements [optional]; |
| 1588 | 1588 |
| 1589 // The elements of a List instance. | 1589 // The elements of a Map instance. |
| 1590 // | 1590 // |
| 1591 // Provided for instance kinds: | 1591 // Provided for instance kinds: |
| 1592 // Map | 1592 // Map |
| 1593 MapAssociation[] associations [optional]; | 1593 MapAssociation[] associations [optional]; |
| 1594 | 1594 |
| 1595 // The bytes of a TypedData instance. | 1595 // The bytes of a TypedData instance. |
| 1596 // | 1596 // |
| 1597 // The data is provided as a Base64 encoded string. | 1597 // The data is provided as a Base64 encoded string. |
| 1598 // | 1598 // |
| 1599 // Provided for instance kinds: | 1599 // Provided for instance kinds: |
| (...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2313 ## Revision History | 2313 ## Revision History |
| 2314 | 2314 |
| 2315 version | comments | 2315 version | comments |
| 2316 ------- | -------- | 2316 ------- | -------- |
| 2317 1.0 | initial revision | 2317 1.0 | initial revision |
| 2318 2.0 | Describe protocol version 2.0. | 2318 2.0 | Describe protocol version 2.0. |
| 2319 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. Added VMUpdate events
. Add offset and count parameters to getObject() and offset and count fields to
Instance. Added ServiceExtensionAdded event. | 2319 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. Added VMUpdate events
. Add offset and count parameters to getObject() and offset and count fields to
Instance. Added ServiceExtensionAdded event. |
| 2320 | 2320 |
| 2321 | 2321 |
| 2322 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato
ry-discuss | 2322 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato
ry-discuss |
| OLD | NEW |