OLD | NEW |
1 # Dart VM Service Protocol 3.0 | 1 # Dart VM Service Protocol 3.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 3.0_ of the Dart VM Service Protocol. This | 5 This document describes of _version 3.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 1786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1797 // A list of all libraries for this isolate. | 1797 // A list of all libraries for this isolate. |
1798 // | 1798 // |
1799 // Guaranteed to be initialized when the IsolateRunnable event fires. | 1799 // Guaranteed to be initialized when the IsolateRunnable event fires. |
1800 @Library[] libraries; | 1800 @Library[] libraries; |
1801 | 1801 |
1802 // A list of all breakpoints for this isolate. | 1802 // A list of all breakpoints for this isolate. |
1803 Breakpoint[] breakpoints; | 1803 Breakpoint[] breakpoints; |
1804 | 1804 |
1805 // The error that is causing this isolate to exit, if applicable. | 1805 // The error that is causing this isolate to exit, if applicable. |
1806 Error error [optional]; | 1806 Error error [optional]; |
| 1807 |
| 1808 // The current pause on exception mode for this isolate. |
| 1809 ExceptionPauseMode exceptionPauseMode; |
1807 } | 1810 } |
1808 ``` | 1811 ``` |
1809 | 1812 |
1810 An _Isolate_ object provides information about one isolate in the VM. | 1813 An _Isolate_ object provides information about one isolate in the VM. |
1811 | 1814 |
1812 ### Library | 1815 ### Library |
1813 | 1816 |
1814 ``` | 1817 ``` |
1815 class @Library extends @Object { | 1818 class @Library extends @Object { |
1816 // The name of this library. | 1819 // The name of this library. |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2267 ## Revision History | 2270 ## Revision History |
2268 | 2271 |
2269 version | comments | 2272 version | comments |
2270 ------- | -------- | 2273 ------- | -------- |
2271 1.0 | initial revision | 2274 1.0 | initial revision |
2272 2.0 | Describe protocol version 2.0. | 2275 2.0 | Describe protocol version 2.0. |
2273 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. | 2276 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. |
2274 | 2277 |
2275 | 2278 |
2276 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato
ry-discuss | 2279 [discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observato
ry-discuss |
OLD | NEW |