A client for the Dart VM service.
VMPauseEvent.atAsyncSuspensionto indicate when an isolate is paused at an await, yield, or yield* statement (only available from VM service version 3.3).
VMStep.OverAsyncSuspensionto allow continuing until execution returns from an await, yield, or yield* statement (only valid when
VMIsolate.exceptionPauseModeto return/set pause behaviour for exceptions.
Update usage of SDK constants.
Increase minimum Dart SDK to
Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.
VMObjectRef.observatoryUrlgetters that provide access to human-friendly relative Observatory URLs for VM service objects.
Isolate.invokeExtension()would fail if the extension method returned a non-
VMScriptRef, which return a
VMSourceReportfor the target isolate or just the target script respectively.
VMScriptToken.offset is deprecated. This never returned the documented value
in the first place, and in practice determining that value isn't possible from
the information available in the token.
VMScript.getSpan() now return spans with the
correct line, column, and offset numbers.
new VMServiceClient() and
VMServiceClient.withoutJson() now take a
StreamChannel rather than a
Breaking change: the static asynchronous factory
VMServiceClient.connect() is now a synchronous constructor,
VMIsolate.pauseEventnow returns an instance of
VMNoneEventbefore the isolate is runnable.
VMIsolateRef.onExtensionEvent, which emits events posted by VM service
VMIsolateRef.selectExtensionEvents(), which selects events with specific
kinds posted by VM service extensions using
VMIsolateRef.onExtensionAdded, which emits an event when a VM service
extension registers a new RPC.
VMIsolateRef.waitForExtension(), which returns when a given extension
RPC is available.
VMIsolateRef.invokeExtension(), which invokes VM service extension RPCs
VMIsolate.extensionRpcs, which returns the extension RPCs registered in
a given isolate.
VMPauseEvent.timewould always be reported as
Add this to your package's pubspec.yaml file:
dependencies: vm_service_client: ^0.2.6
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.2.6||Jul 23, 2018|
|0.2.5+1||Jul 20, 2018|
|0.2.5||Jul 12, 2018|
|0.2.4+3||May 30, 2018|
|0.2.4+1||Feb 1, 2018|
|0.2.4||Jan 16, 2018|
|0.2.3||Jan 4, 2017|
|0.2.2+4||Nov 18, 2016|
|0.2.2+3||Nov 17, 2016|
|0.2.2+2||Jun 22, 2016|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Aug 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter, other
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 of the API.
Maintain an example.
Create a short demo in the
example/ directory to show how to use this package. Common file name patterns include:
example.dart or you could also use
lib/src/script.dart reported 2 hints:
line 327 col 17: Always override
hashCode if overriding
line 406 col 17: Always override
hashCode if overriding
lib/src/instance.dart reported 1 hint:
line 302 col 24: 'typed' is deprecated and shouldn't be used.
lib/src/isolate.dart reported 1 hint:
line 487 col 56: 'typed' is deprecated and shouldn't be used.
|Dart SDK||>=2.0.0-dev.58.0 <3.0.0|