vm_service_lib 0.3.7

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 87

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.7

  • ensure the library works with Dart 2
  • regenerate the library based on the 3.8-dev spec
  • now require a minimum of a 2.0.0-dev Dart SDK
  • update to not use deprecated dart:convert constants

0.3.6

  • workaround for an issue with the type of @Library refs for VM objects

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.7"

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.7 Apr 17, 2018 Go to the documentation of vm_service_lib 0.3.7 Download vm_service_lib 0.3.7 archive
0.3.5+2 Mar 10, 2018 Go to the documentation of vm_service_lib 0.3.5+2 Download vm_service_lib 0.3.5+2 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

All 32 versions...

Analysis

We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.49.0
  • pana: 0.10.6

Scores

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

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:vm_service_lib/vm_service_lib.dart.

Suggestions

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use vm_service_lib.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.17.0 <2.0.0
Dev dependencies
markdown >=0.11.0 <2.0.0
path ^1.0.0
pub_semver ^1.0.0