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

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

Issue 1980573003: fix all instances of "the the" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/parser.cc ('k') | runtime/vm/store_buffer.h » ('j') | 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.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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 "code": 103, 165 "code": 103,
166 "message": "Stream already subscribed", 166 "message": "Stream already subscribed",
167 "data": { 167 "data": {
168 "details": "The stream 'GC' is already subscribed" 168 "details": "The stream 'GC' is already subscribed"
169 } 169 }
170 } 170 }
171 "id": "2" 171 "id": "2"
172 } 172 }
173 ``` 173 ```
174 174
175 In addition the the [error codes](http://www.jsonrpc.org/specification#error_obj ect) 175 In addition the [error codes](http://www.jsonrpc.org/specification#error_object)
176 specified in the JSON-RPC spec, we use the following application specific error codes: 176 specified in the JSON-RPC spec, we use the following application specific error codes:
177 177
178 code | message | meaning 178 code | message | meaning
179 ---- | ------- | ------- 179 ---- | ------- | -------
180 100 | Feature is disabled | The operation is unable to complete because a featur e is disabled 180 100 | Feature is disabled | The operation is unable to complete because a featur e is disabled
181 101 | VM must be paused | This operation is only valid when the VM is paused 181 101 | VM must be paused | This operation is only valid when the VM is paused
182 102 | Cannot add breakpoint | The VM is unable to add a breakpoint at the specif ied line or function 182 102 | Cannot add breakpoint | The VM is unable to add a breakpoint at the specif ied line or function
183 103 | Stream already subscribed | The client is already subscribed to the specif ied _streamId_ 183 103 | Stream already subscribed | The client is already subscribed to the specif ied _streamId_
184 104 | Stream not subscribed | The client is not subscribed to the specified _str eamId_ 184 104 | Stream not subscribed | The client is not subscribed to the specified _str eamId_
185 105 | Isolate must be runnable | This operation cannot happen until the isolate is runnable 185 105 | Isolate must be runnable | This operation cannot happen until the isolate is runnable
(...skipping 2336 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. 2530 3.5 | Add the error field to SourceReportRange. Clarify definition of token pos ition.
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
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/store_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698