| OLD | NEW |
| 1 # Dart VM Service Protocol 3.5 | 1 # Dart VM Service Protocol 3.5 |
| 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.5_ of the Dart VM Service Protocol. This | 5 This document describes of _version 3.5_ 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 1517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1528 // Float32x4List | 1528 // Float32x4List |
| 1529 // Float64x2List | 1529 // Float64x2List |
| 1530 int length [optional]; | 1530 int length [optional]; |
| 1531 | 1531 |
| 1532 // The name of a Type instance. | 1532 // The name of a Type instance. |
| 1533 // | 1533 // |
| 1534 // Provided for instance kinds: | 1534 // Provided for instance kinds: |
| 1535 // Type | 1535 // Type |
| 1536 string name [optional]; | 1536 string name [optional]; |
| 1537 | 1537 |
| 1538 // The corresponding Class if this Type is canonical. | 1538 // The corresponding Class if this Type has a resolved typeClass. |
| 1539 // | 1539 // |
| 1540 // Provided for instance kinds: | 1540 // Provided for instance kinds: |
| 1541 // Type | 1541 // Type |
| 1542 @Class typeClass [optional]; | 1542 @Class typeClass [optional]; |
| 1543 | 1543 |
| 1544 // The parameterized class of a type parameter: | 1544 // The parameterized class of a type parameter: |
| 1545 // | 1545 // |
| 1546 // Provided for instance kinds: | 1546 // Provided for instance kinds: |
| 1547 // TypeParameter | 1547 // TypeParameter |
| 1548 @Class parameterizedClass [optional]; | 1548 @Class parameterizedClass [optional]; |
| (...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2522 ------- | -------- | 2522 ------- | -------- |
| 2523 1.0 | initial revision | 2523 1.0 | initial revision |
| 2524 2.0 | Describe protocol version 2.0. | 2524 2.0 | Describe protocol version 2.0. |
| 2525 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. | 2525 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. |
| 2526 3.1 | Add the getSourceReport RPC. The getObject RPC now accepts offset and cou
nt for string objects. String objects now contain length, offset, and count pro
perties. | 2526 3.1 | Add the getSourceReport RPC. The getObject RPC now accepts offset and cou
nt for string objects. String objects now contain length, offset, and count pro
perties. |
| 2527 3.2 | Isolate objects now include the runnable bit and many debugger related RPC
s will return an error if executed on an isolate before it is runnable. | 2527 3.2 | Isolate objects now include the runnable bit and many debugger related RPC
s will return an error if executed on an isolate before it is runnable. |
| 2528 3.3 | Pause event now indicates if the isolate is paused at an await, yield, or
yield* suspension point via the 'atAsyncSuspension' field. Resume command now su
pports the step parameter 'OverAsyncSuspension'. A Breakpoint added syntheticall
y by an 'OverAsyncSuspension' resume command identifies itself as such via the '
isSyntheticAsyncContinuation' field. | 2528 3.3 | Pause event now indicates if the isolate is paused at an await, yield, or
yield* suspension point via the 'atAsyncSuspension' field. Resume command now su
pports the step parameter 'OverAsyncSuspension'. A Breakpoint added syntheticall
y by an 'OverAsyncSuspension' resume command identifies itself as such via the '
isSyntheticAsyncContinuation' field. |
| 2529 3.4 | Add the superType and mixin fields to Class. Added new pause event 'None'. | 2529 3.4 | Add the superType and mixin fields to Class. Added new pause event 'None'. |
| 2530 3.5 | Add the error field to SourceReportRange. Clarify definition of token pos
ition. Add "Isolate must be paused" error code. | 2530 3.5 | Add the error field to SourceReportRange. Clarify definition of token pos
ition. Add "Isolate must be paused" error code. |
| 2531 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato
ry-discuss | 2531 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato
ry-discuss |
| OLD | NEW |