1- # Dart VM Service Protocol 3.23 -dev
1+ # Dart VM Service Protocol 3.24 -dev
22
33> Please post feedback to the [ observatory-discuss group] [ discuss-list ]
44
5- This document describes of _ version 3.23 -dev_ of the Dart VM Service Protocol. This
5+ This document describes of _ version 3.24 -dev_ of the Dart VM Service Protocol. This
66protocol is used to communicate with a running Dart Virtual Machine.
77
88To use the Service Protocol, start the VM with the * --observe* flag.
@@ -1080,7 +1080,7 @@ The _streamId_ parameter may have the following published values:
10801080
10811081streamId | event types provided
10821082-------- | -----------
1083- VM | VMUpdate
1083+ VM | VMUpdate, VMFlagUpdate
10841084Isolate | IsolateStart, IsolateRunnable, IsolateExit, IsolateUpdate, IsolateReload, ServiceExtensionAdded
10851085Debug | PauseStart, PauseExit, PauseBreakpoint, PauseInterrupted, PauseException, PausePostRequest, Resume, BreakpointAdded, BreakpointResolved, BreakpointRemoved, Inspect, None
10861086GC | GC
@@ -1513,13 +1513,13 @@ class Event extends Response {
15131513 // The isolate with which this event is associated.
15141514 //
15151515 // This is provided for all event kinds except for:
1516- // VMUpdate
1516+ // VMUpdate, VMFlagUpdate
15171517 @Isolate isolate [optional];
15181518
15191519 // The vm with which this event is associated.
15201520 //
15211521 // This is provided for the event kind:
1522- // VMUpdate
1522+ // VMUpdate, VMFlagUpdate
15231523 @VM vm [optional];
15241524
15251525 // The timestamp (in milliseconds since the epoch) associated with this event.
@@ -1635,6 +1635,18 @@ class Event extends Response {
16351635 // This is provided for the event kinds:
16361636 // ServiceRegistered
16371637 String alias [optional];
1638+
1639+ // The name of the changed flag.
1640+ //
1641+ // This is provided for the event kinds:
1642+ // VMFlagUpdate
1643+ String flag [optional];
1644+
1645+ // The new value of the changed flag.
1646+ //
1647+ // This is provided for the event kinds:
1648+ // VMFlagUpdate
1649+ String newValue [optional];
16381650}
16391651```
16401652
@@ -1652,6 +1664,9 @@ enum EventKind {
16521664 // to notify of changes to the VM debugging name via setVMName.
16531665 VMUpdate,
16541666
1667+ // Notification that a VM flag has been changed via the service protocol.
1668+ VMFlagUpdate,
1669+
16551670 // Notification that a new isolate has started.
16561671 IsolateStart,
16571672
@@ -3127,5 +3142,6 @@ version | comments
312731423.20 | Add 'getInstances' RPC and 'InstanceSet' object.
312831433.21 | Add 'getVMTimelineMicros' RPC and 'Timestamp' object.
312931443.22 | Add ` registerService ` RPC, ` Service ` stream, and ` ServiceRegistered ` and ` ServiceUnregistered ` event kinds.
3145+ 3.23 | Add ` VMFlagUpdate ` event kind to the ` VM ` stream.
31303146
31313147[ discuss-list ] : https://groups.google.com/a/dartlang.org/forum/#!forum/observatory-discuss
0 commit comments