vm_service_lib 0.3.5+1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 86

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+1

  • bug fix for deserializing Instance objects

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+1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages 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';
        
Version Uploaded Documentation Archive
0.3.5+1 Aug 23, 2017 Go to the documentation of vm_service_lib 0.3.5+1 Download vm_service_lib 0.3.5+1 archive
0.3.5 Jun 22, 2017 Go to the documentation of vm_service_lib 0.3.5 Download vm_service_lib 0.3.5 archive
0.3.4 Jun 19, 2017 Go to the documentation of vm_service_lib 0.3.4 Download vm_service_lib 0.3.4 archive
0.3.3 Jun 16, 2017 Go to the documentation of vm_service_lib 0.3.3 Download vm_service_lib 0.3.3 archive
0.3.2+1 Nov 9, 2016 Go to the documentation of vm_service_lib 0.3.2+1 Download vm_service_lib 0.3.2+1 archive
0.3.2 Nov 1, 2016 Go to the documentation of vm_service_lib 0.3.2 Download vm_service_lib 0.3.2 archive
0.3.0 Apr 19, 2016 Go to the documentation of vm_service_lib 0.3.0 Download vm_service_lib 0.3.0 archive
0.2.4 Mar 31, 2016 Go to the documentation of vm_service_lib 0.2.4 Download vm_service_lib 0.2.4 archive
0.2.3 Feb 27, 2016 Go to the documentation of vm_service_lib 0.2.3 Download vm_service_lib 0.2.3 archive
0.2.2 Feb 23, 2016 Go to the documentation of vm_service_lib 0.2.2 Download vm_service_lib 0.2.2 archive

All 30 versions...

Analysis

This feature is new.
We welcome feedback.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Dec 6, 2017
  • Dart: 2.0.0-dev.8.0
  • pana: 0.7.3+1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
73
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
99
Overall score:
Weighted score of the above. [more]
86

Platforms

Detected platforms: Flutter, server, web

primary library - package:vm_service_lib/vm_service_lib.dart

Dependencies

Package Constraint Resolved Available
Dev dependencies
markdown ^0.11.0
path ^1.0.0
pub_semver ^1.0.0