- Mark this package as discontinued.
- Do not override path during
VMServiceClient.connect
.- Fixes issues with connecting to Dart
2.3
observatory URIs.
- Fixes issues with connecting to Dart
- Allow
stream_channel
version 2.x
- Add
VMPauseEvent.atAsyncSuspension
to indicate when an isolate is paused at an await, yield, or yield* statement (only available from VM service version 3.3). - Add
VMStep.OverAsyncSuspension
to allow continuing until execution returns from an await, yield, or yield* statement (only valid whenVMPauseEvent.atAsyncSuspension
istrue
). - Add
VMIsolate.setExceptionPauseMode
andVMIsolate.exceptionPauseMode
to return/set pause behaviour for exceptions.
- Support Dart 2 stable releases.
-
Update usage of SDK constants.
-
Increase minimum Dart SDK to
2.0.0-dev.58.0
.
- Fix more Dart 2 runtime issues.
- Fix type issues with Dart 2 runtime.
- Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.
- Internal changes only.
- Add
VMIsolate.observatoryUrl
andVMObjectRef.observatoryUrl
getters that provide access to human-friendly relative Observatory URLs for VM service objects.
- Fix a bug where
Isolate.invokeExtension()
would fail if the extension method returned a non-Map
value.
- Fix strong-mode errors and warnings.
- Narrow the dependency on
source_span
.
- Fix some documentation comments.
- Add
getSourceReport
toVMIsolateRef
andVMScriptRef
, which return aVMSourceReport
for 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.getLocation()
andVMScript.getSpan()
now return spans with the correct line, column, and offset numbers.
-
Breaking change:
new VMServiceClient()
andnew VMServiceClient.withoutJson()
now take aStreamChannel
rather than aStream
/Sink
pair. -
Breaking change: the static asynchronous factory
VMServiceClient.connect()
is now a synchronous constructor,new VMServiceClient.connect()
.
- On VM service versions 3.4 and greater,
VMIsolate.pauseEvent
now returns an instance ofVMNoneEvent
before the isolate is runnable.
- Drop the dependency on the
crypto
package.
-
Add
VMIsolateRef.onExtensionEvent
, which emits events posted by VM service extensions usingpostEvent
indart:developer
. -
Add
VMIsolateRef.selectExtensionEvents()
, which selects events with specific kinds posted by VM service extensions usingpostEvent
indart:developer
. -
Add
VMIsolateRef.onExtensionAdded
, which emits an event when a VM service extension registers a new RPC. -
Add
VMIsolateRef.waitForExtension()
, which returns when a given extension RPC is available. -
Add
VMIsolateRef.invokeExtension()
, which invokes VM service extension RPCs registered usingregisterExtension
indart:developer
. -
Add
VMIsolate.extensionRpcs
, which returns the extension RPCs registered in a given isolate.
- Fix a bug where
VMPauseEvent.time
would always be reported asnull
or crash.
- Fix support for VM service protocol 1.0 events.
- Initial version.