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

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

Issue 1316123004: Improve display of simd vector types and stack traces in Observatory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code review Created 5 years, 3 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/object.cc ('k') | 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 2.0 1 # Dart VM Service Protocol 2.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 2.0_ of the Dart VM Service Protocol. This 5 This document describes of _version 2.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 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 @Class class; 1234 @Class class;
1235 1235
1236 // The value of this instance as a string. 1236 // The value of this instance as a string.
1237 // 1237 //
1238 // Provided for the instance kinds: 1238 // Provided for the instance kinds:
1239 // Null (null) 1239 // Null (null)
1240 // Bool (true or false) 1240 // Bool (true or false)
1241 // Double (suitable for passing to Double.parse()) 1241 // Double (suitable for passing to Double.parse())
1242 // Int (suitable for passing to int.parse()) 1242 // Int (suitable for passing to int.parse())
1243 // String (value may be truncated) 1243 // String (value may be truncated)
1244 // Float32x4
1245 // Float64x2
1246 // Int32x4
1247 // StackTrace
1244 string valueAsString [optional]; 1248 string valueAsString [optional];
1245 1249
1246 // The valueAsString for String references may be truncated. If so, 1250 // The valueAsString for String references may be truncated. If so,
1247 // this property is added with the value 'true'. 1251 // this property is added with the value 'true'.
1248 bool valueAsStringIsTruncated [optional]; 1252 bool valueAsStringIsTruncated [optional];
1249 1253
1250 // The length of a List instance. 1254 // The length of a List instance.
1251 // 1255 //
1252 // Provided for instance kinds: 1256 // Provided for instance kinds:
1253 // List 1257 // List
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1500 String, 1504 String,
1501 1505
1502 // An instance of the built-in VM List implementation. User-defined 1506 // An instance of the built-in VM List implementation. User-defined
1503 // Lists will be PlainInstance. 1507 // Lists will be PlainInstance.
1504 List, 1508 List,
1505 1509
1506 // An instance of the built-in VM Map implementation. User-defined 1510 // An instance of the built-in VM Map implementation. User-defined
1507 // Maps will be PlainInstance. 1511 // Maps will be PlainInstance.
1508 Map, 1512 Map,
1509 1513
1514 // Vector instance kinds.
1515 Float32x4,
1516 Float64x2,
1517 Int32x4
1518
1510 // An instance of the built-in VM TypedData implementations. User-defined 1519 // An instance of the built-in VM TypedData implementations. User-defined
1511 // TypedDatas will be PlainInstance. 1520 // TypedDatas will be PlainInstance.
1512 Uint8ClampedList, 1521 Uint8ClampedList,
1513 Uint8List, 1522 Uint8List,
1514 Uint16List, 1523 Uint16List,
1515 Uint32List, 1524 Uint32List,
1516 Uint64List, 1525 Uint64List,
1517 Int8List, 1526 Int8List,
1518 Int16List, 1527 Int16List,
1519 Int32List, 1528 Int32List,
1520 Int64List, 1529 Int64List,
1521 Float32List, 1530 Float32List,
1522 Float64List, 1531 Float64List,
1523 Int32x4List, 1532 Int32x4List,
1524 Float32x4List, 1533 Float32x4List,
1525 Float64x2List, 1534 Float64x2List,
1526 1535
1536 // An instance of the Dart class StackTrace.
1537 StackTrace,
1538
1527 // An instance of the built-in VM Closure implementation. User-defined 1539 // An instance of the built-in VM Closure implementation. User-defined
1528 // Closures will be PlainInstance. 1540 // Closures will be PlainInstance.
1529 Closure, 1541 Closure,
1530 1542
1531 // An instance of the Dart class MirrorReference. 1543 // An instance of the Dart class MirrorReference.
1532 MirrorReference, 1544 MirrorReference,
1533 1545
1534 // An instance of the Dart class RegExp. 1546 // An instance of the Dart class RegExp.
1535 RegExp, 1547 RegExp,
1536 1548
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
2004 ``` 2016 ```
2005 2017
2006 ## Revision History 2018 ## Revision History
2007 2019
2008 version | comments 2020 version | comments
2009 ------- | -------- 2021 ------- | --------
2010 1.0 draft 1 | initial revision 2022 1.0 draft 1 | initial revision
2011 2023
2012 2024
2013 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato ry-discuss 2025 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato ry-discuss
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698