Service protocol draft is now available

65 views
Skip to first unread message

turnidge

unread,
Jun 4, 2015, 1:04:59 PM6/4/15
to observato...@dartlang.org
Hello all,

The first draft of the VM Service Protocol document is now available in on github:


The VM Service Protocol is the wire protocol that the Observatory uses to communicate with the Dart VM.  It will also replace the current debugging protocol and become the standard way for all tools (e.g. debuggers) to communicate with the VM.

The protocol is:

  - WebSocket
  - JSON-RPC (mostly)
  - Multi-client

Please give it a look and let us know what you think.

thanks,

Todd

Gilad Bracha

unread,
Jun 5, 2015, 9:43:15 AM6/5/15
to observato...@dartlang.org
A few comments:

(1) Breakpoints are specified with a line number, rather than line & column (or character index).  This is a flaw.
(2) I'm unclear what type represents a static or top level field, as BoundedField says it is an Instance field.
(3) I think the description of set Out could be clearer.
(4) Typo: "a type paramters"

Todd Turnidge

unread,
Jun 29, 2015, 7:38:32 PM6/29/15
to Gilad Bracha, observato...@dartlang.org
(1) We are able to add optional parameters to the rpcs compatibly -- we intend to add a column-number argument soon.

(2) Well, it's kind of odd -- a static field's value is plopped into the Field response.  An instance field's value is not.  When we want to pair an instance field's value with a field, we return a BoundField -- maybe it should be named FieldValuePair or something...

(3), (4): noted.

--
You received this message because you are subscribed to the Google Groups "Dart VM Observatory Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to observatory-dis...@dartlang.org.

Reply all
Reply to author
Forward
0 new messages