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

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

Issue 1684863003: Tweak to the service protocol doc; move the location of an array type indicator. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | no next file » | 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.2 1 # Dart VM Service Protocol 3.2
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.2_ of the Dart VM Service Protocol. This 5 This document describes of _version 3.2_ 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 2276 matching lines...) Expand 10 before | Expand all | Expand 10 after
2287 2287
2288 // Code coverage information for this range. Provided only when the 2288 // Code coverage information for this range. Provided only when the
2289 // Coverage report has been requested and the range has been 2289 // Coverage report has been requested and the range has been
2290 // compiled. 2290 // compiled.
2291 SourceReportCoverage coverage [optional]; 2291 SourceReportCoverage coverage [optional];
2292 2292
2293 // Possible breakpoint information for this range, represented as a 2293 // Possible breakpoint information for this range, represented as a
2294 // sorted list of token positions. Provided only when the when the 2294 // sorted list of token positions. Provided only when the when the
2295 // PossibleBreakpoint report has been requested and the range has been 2295 // PossibleBreakpoint report has been requested and the range has been
2296 // compiled. 2296 // compiled.
2297 int possibleBreakpoints[] [optional]; 2297 int[] possibleBreakpoints [optional];
2298 } 2298 }
2299 ``` 2299 ```
2300 2300
2301 The _SourceReportRange_ class represents a range of executable code 2301 The _SourceReportRange_ class represents a range of executable code
2302 (function, method, constructor, etc) in the running program. It is 2302 (function, method, constructor, etc) in the running program. It is
2303 part of a [SourceReport](#sourcereport). 2303 part of a [SourceReport](#sourcereport).
2304 2304
2305 Note that _SourceReportRange_ does not extend [Response](#response) 2305 Note that _SourceReportRange_ does not extend [Response](#response)
2306 and therefore will not contain a _type_ property. 2306 and therefore will not contain a _type_ property.
2307 2307
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
2471 version | comments 2471 version | comments
2472 ------- | -------- 2472 ------- | --------
2473 1.0 | initial revision 2473 1.0 | initial revision
2474 2.0 | Describe protocol version 2.0. 2474 2.0 | Describe protocol version 2.0.
2475 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. 2475 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.
2476 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. 2476 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.
2477 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. 2477 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.
2478 2478
2479 2479
2480 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato ry-discuss 2480 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato ry-discuss
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698