vm_service_lib 0.3.5

vm_service_lib

pub package

A library to access the VM Service Protocol.

Usage

See the example for a simple use of the library's API.

The VM Service Protocol spec can be found at github.com/dart-lang/sdk/runtime/vm/service/service.md.

Features and bugs

Please file feature requests and bugs at the issue tracker.

Changelog

0.3.5

  • improve access to the profiling APIs

0.3.4

  • more strong mode runtime fixes
  • expose some undocumented (and unsupported) service protocol methods

0.3.3

  • fix strong mode issues at runtime (with JSLists and Lists)
  • expose the ability to evaluate in the scope of another object
  • expose the async causal frame info
  • expose the awaiterFrames field
  • expose the frameIndex param for the step call

0.3.2+1

  • fix a strong mode issue in the generated Dart library

0.3.2

  • expose the PausePostRequest event

0.3.1

  • fix a parsing issue with ExtensionData

0.2.4

  • expose the service protocol timeline API
  • add the new None event type

0.2.3

  • include the name of the calling method in RPC errors

0.2.2

  • fixed several strong mode analysis issues

0.2.1

  • upgrade to service protocol version 3.3

0.2.0

  • upgrade to service protocol version 3.2

0.1.2

  • fixed a bug with the ServiceExtensionAdded event

0.1.1

  • expose the new 'Extension' event information

0.1.0

  • rev to 0.1.0; declare first stable API version

0.0.13

  • improve the toString() message for RPCError

0.0.12

  • bug fix for parsing MapAssociations

0.0.11

  • bug fix to the service extension API

0.0.10

  • expose a service extension API

0.0.9

  • update to the latest spec to capture the Event.inspectee field

0.0.8

  • allow listening to arbitrary event types
  • use Strings for the enum types (to allow for unknown enum values)

0.0.7

  • make the diagnostic logging synchronous
  • remove a workaround for a VM bug (fixed in 1.13.0-dev.7.3)
  • several strong mode fixes

0.0.6

  • added exceptionPauseMode to the Isolate class
  • added hashCode and operator== methods to classes supporting object identity
  • work around a VM bug with the type field of BoundVariable and BoundField

0.0.5

  • added more dartdocs
  • moved back to using Dart enums
  • changed from optional positional params to optional named params

0.0.4

  • enum redux

0.0.3

  • update to use a custom enum class
  • upgrade to the latest service protocol spec

0.0.2

  • added the setExceptionPauseMode method
  • fixed an issue with enum parsing

0.0.1

  • first publish
  • upgraded the library to the 3.0 version of the service protocol
  • upgraded the library to the 2.0 version of the service protocol
  • copied basic Dart API generator from Atom Dart Plugin https://github.com/dart-atom/dartlang/tree/master/tool
  • refactored Dart code to generate Java client as well as Dart client

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  vm_service_lib: "^0.3.5"

2. Install it

You can install packages from the command line:

$ pub get

Alternatively, your editor might support 'pub get'. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:vm_service_lib/vm_service_lib.dart';

About

A library to access the VM Service API.

Author

Email misc@dartlang.org Dart Team

Homepage

github.com/dart-lang/vm_service_drivers

Documentation

www.dartdocs.org/documentation/vm_service_lib/0.3.5/

Source code (hyperlinked)

www.crossdart.info/p/vm_service_lib/0.3.5/

Uploader

devoncarew@google.com
danrubel@google.com
johnmccutchan@google.com

Published

Jun 22, 2017

Share