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 19 matching lines...) Expand all Loading... |
30 - [evaluate](#evaluate) | 30 - [evaluate](#evaluate) |
31 - [evaluateInFrame](#evaluateinframe) | 31 - [evaluateInFrame](#evaluateinframe) |
32 - [getFlagList](#getflaglist) | 32 - [getFlagList](#getflaglist) |
33 - [getIsolate](#getisolate) | 33 - [getIsolate](#getisolate) |
34 - [getObject](#getobject) | 34 - [getObject](#getobject) |
35 - [getSourceReport](#getsourcereport) | 35 - [getSourceReport](#getsourcereport) |
36 - [getStack](#getstack) | 36 - [getStack](#getstack) |
37 - [getVersion](#getversion) | 37 - [getVersion](#getversion) |
38 - [getVM](#getvm) | 38 - [getVM](#getvm) |
39 - [pause](#pause) | 39 - [pause](#pause) |
40 - [reloadSources](#reloadSources) | 40 » - [reloadSources](#reloadSources) |
41 - [removeBreakpoint](#removebreakpoint) | 41 - [removeBreakpoint](#removebreakpoint) |
42 - [resume](#resume) | 42 - [resume](#resume) |
43 - [setExceptionPauseMode](#setexceptionpausemode) | 43 - [setExceptionPauseMode](#setexceptionpausemode) |
44 - [setLibraryDebuggable](#setlibrarydebuggable) | 44 - [setLibraryDebuggable](#setlibrarydebuggable) |
45 - [setName](#setname) | 45 - [setName](#setname) |
46 - [setVMName](#setvmname) | 46 - [setVMName](#setvmname) |
47 - [streamCancel](#streamcancel) | 47 - [streamCancel](#streamcancel) |
48 - [streamListen](#streamlisten) | 48 - [streamListen](#streamlisten) |
49 - [Public Types](#public-types) | 49 - [Public Types](#public-types) |
50 - [BoundField](#boundfield) | 50 - [BoundField](#boundfield) |
(...skipping 16 matching lines...) Expand all Loading... |
67 - [Frame](#frame) | 67 - [Frame](#frame) |
68 - [Function](#function) | 68 - [Function](#function) |
69 - [Instance](#instance) | 69 - [Instance](#instance) |
70 - [Isolate](#isolate) | 70 - [Isolate](#isolate) |
71 - [Library](#library) | 71 - [Library](#library) |
72 - [LibraryDependency](#librarydependency) | 72 - [LibraryDependency](#librarydependency) |
73 - [MapAssociation](#mapassociation) | 73 - [MapAssociation](#mapassociation) |
74 - [Message](#message) | 74 - [Message](#message) |
75 - [Null](#null) | 75 - [Null](#null) |
76 - [Object](#object) | 76 - [Object](#object) |
77 - [ReloadReport](#reloadreport) | 77 » - [ReloadReport](#reloadreport) |
78 - [Response](#response) | 78 - [Response](#response) |
79 - [Sentinel](#sentinel) | 79 - [Sentinel](#sentinel) |
80 - [SentinelKind](#sentinelkind) | 80 - [SentinelKind](#sentinelkind) |
81 - [Script](#script) | 81 - [Script](#script) |
82 - [SourceLocation](#sourcelocation) | 82 - [SourceLocation](#sourcelocation) |
83 - [SourceReport](#sourcereport) | 83 - [SourceReport](#sourcereport) |
84 - [SourceReportCoverage](#sourcereportcoverage) | 84 - [SourceReportCoverage](#sourcereportcoverage) |
85 - [SourceReportKind](#sourcereportkind) | 85 - [SourceReportKind](#sourcereportkind) |
86 - [SourceReportRange](#sourcereportrange) | 86 - [SourceReportRange](#sourcereportrange) |
87 - [Stack](#stack) | 87 - [Stack](#stack) |
(...skipping 2497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2585 2.0 | Describe protocol version 2.0. | 2585 2.0 | Describe protocol version 2.0. |
2586 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. | 2586 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. |
2587 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. | 2587 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. |
2588 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. | 2588 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. |
2589 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. | 2589 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. |
2590 3.4 | Add the superType and mixin fields to Class. Added new pause event 'None'. | 2590 3.4 | Add the superType and mixin fields to Class. Added new pause event 'None'. |
2591 3.5 | Add the error field to SourceReportRange. Clarify definition of token pos
ition. Add "Isolate must be paused" error code. | 2591 3.5 | Add the error field to SourceReportRange. Clarify definition of token pos
ition. Add "Isolate must be paused" error code. |
2592 3.6 (unreleased) | Add 'scopeStartTokenPos', 'scopeEndTokenPos', and 'declaratio
nTokenPos' to BoundVariable. Add 'PausePostRequest' event kind. Add 'Rewind' Ste
pOption. Add error code 107 (isolate cannot resume). Add 'reloadSources' RPC and
related error codes. | 2592 3.6 (unreleased) | Add 'scopeStartTokenPos', 'scopeEndTokenPos', and 'declaratio
nTokenPos' to BoundVariable. Add 'PausePostRequest' event kind. Add 'Rewind' Ste
pOption. Add error code 107 (isolate cannot resume). Add 'reloadSources' RPC and
related error codes. |
2593 | 2593 |
2594 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato
ry-discuss | 2594 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato
ry-discuss |
OLD | NEW |