pub repository
mirror.p-hatan.comvm_service
15.4.0A library to communicate with a service implementing the Dart VM service protocol.
Cached in Iran · Upstream SHA-256 matched
Readme
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 specification 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
15.4.0
- Update to version
4.23of the spec. - Add
staticTypeproperty toBoundVariable. - Add
ffiLayoutproperty toClass. - Add
FfiStructLayoutandFfiStructFieldtypes. - Fix issue where requests for RPCs without a known return type (e.g., private
RPCs or service extensions invoked via
callMethod) would never complete if the response was anullinstance.
15.3.0
- Add support for WebSocket profiling.
15.2.0
- Update to version
4.22of the spec. - Deprecate
Messagetype andmessagesfield ofStacktype. - Fix an issue introduced in 15.1.0 that could cause
parse()methods (such asVM.parse()) to leave collections asnullinstead of empty lists when they were not present in the JSON.
15.1.0
- Update to version
4.21of the spec. - Add
PointertoInstanceKind. - Add
valueAsStringfields toInstanceforPointerkind. - Add a default
pingIntervalof 15s to VM Service connections with the ability to override when callingvmServiceConnectUri. - Deprecate
streamCpuSamplesWithUserTagRPC. - Fix bug where
RPCErrorexceptions thrown by service callbacks were incorrectly wrapped askServerError, losing the original error code.
15.0.2
- Add
kTimerSignificantlyOverduefield toEventKind.
15.0.1
- Update to version
4.19of the spec. - Add
Timerstream. - Add
detailsproperty toEvent. - Add
getQueuedMicrotasksRPC. - Add
MicrotaskandQueuedMicrotaskstypes. - Add
RPCErrorKind.kCannotGetQueuedMicrotasks.
15.0.0
- Update type of
CodeRef.functionfromFuncReftodynamicto allow forNativeFunctionfunctions (flutter/devtools #8567).
14.3.1
- Fix crash that could occur when trying to send a service extension response after the service connection had already been disposed of (flutter/flutter #157296).
14.3.0
- Update to version
4.16of the spec. - Add
reloadFailureReasonproperty toEvent. - Add a new constant (
RPCErrorKind.kConnectionDisposed = -32010) for requests failing because the service connection was closed. This value is not currently used but is provided for clients to handle in preperation for a future release that will use it to avoid clients having to read error messages. - Add
createIdZone,deleteIdZone, andinvalidateIdZoneRPCs. - Add optional
idZoneIdparameter toevaluate,evaluateInFrame,getInboundReferences,getInstances,getInstancesAsList,getObject,getRetainingPath,getStack, andinvokeRPCs.
14.2.5
- Include a stack trace in the RPCError that is thrown when an attempt is made
to invoke an RPC using a
VmServiceinstance that has been disposed.
14.2.4
- Improved deserialization performance by utilizing a combination of
Utf8DecoderandJsonDecoderto avoid extra type conversions.
14.2.3
- An instance of RPCError is now thrown when attempting to invoke an RPC after the
VmServiceinstance has been disposed.
14.2.2
- Fixes issue where outstanding service requests were not automatically completed with an error when the VM service connection was closed.
14.2.1
- Fixes heap snapshot decoding error (dart-lang/sdk#55475).
14.2.0
- Update to version
4.15of the spec. - Added
closureReceiverproperty toInstanceandInstanceRef. - Added
Finalizer,NativeFinalizer, andFinalizerEntryinstance kinds.
14.1.0
- Added
HeapSnapshotGraph.toChunks(). - Added optional
calculateReferrers,decodeObjectData,decodeExternalProperties, anddecodeIdentityHashCodesparameters toHeapSnapshotGraph.fromChunks().
14.0.0
- Add the following error codes to
RPCErrorKind:kVmMustBePausedkCannotAddBreakpointkIsolateMustBeRunnablekIsolateCannotBeResumedkIsolateIsReloadingkIsolateCannotReloadkIsolateNoReloadChangesAppliedkInvalidTimelineRequest
- Update to version
4.0of the Dart IO service protocol extensions by making the following changes:- Change the type of the
updatedSinceparameter ofgetHttpProfilefromint?toDateTime?. - Change the type of the
timestampproperty ofHttpProfilefrominttoDateTime. - Add
eventsproperty toHttpProfileRequestRefandHttpProfileRequest. - Change the type of the
startTimeproperty ofHttpProfileRequestRefandHttpProfileRequestfrominttoDateTime. - Change the type of the
endTimeproperty ofHttpProfileRequestRefandHttpProfileRequestfromint?toDateTime?. - Remove the
eventsandmethodproperties fromHttpProfileRequestData. - Make the
contentLength,cookies,followRedirects,headers,maxRedirects,method, andpersistentConnectionproperties ofHttpProfileRequestDatanullable. - Change the type of the
startTimeproperty ofHttpProfileResponseDatafrominttoDateTime?. - Change the type of the
endTimeproperty ofHttpProfileResponseDatafromint?toDateTime?. - Make the
cookies,headers,compressionState,reasonPhrase,isRedirect,persistentConnection,contentLength,statusCode, andstartTimeproperties ofHttpProfileResponseDatanullable. - Add
isDirectandportproperties toHttpProfileProxyData. - Add
argumentsproperty toHttpProfileRequestEvent. - Change the type of the
timestampproperty ofHttpProfileRequestEventfrominttoDateTime.
- Change the type of the
13.0.0
- Add Dart IO extension methods:
isSocketProfilingAvailableisHttpTimelineLoggingAvailableisHttpProfilingAvailable.
- Remove deprecated Dart IO extension methods:
startSocketProfilingpauseSocketProfilinggetHttpEnableTimelineLoggingsetHttpEnableTimelineLogging
- Remove deprecated
vmServiceConnectfrompackage:vm_service/vm_service_io.dart. - Remove deprecated constants from
RPCError. - Add
wrapFuturemethod that can be overridden to add additional logic to each VM service RPC call (like logging, tracking values, etc.). - Add
vmServiceConnectUriWithFactoryhelper that can create a generic [VmService] instance and connect it to a web socket URI. - Add
VmServiceFactorytypedef. - Add a static method
VmService.defaultFactorythat provides aVmServiceFactorymethod for theVmServiceclass. - Update SDK constraint to ^3.0.0
12.0.1
- Fix Java VM service version bug.
12.0.0
- Update to version
4.13of the spec. - Add optional
librariesAlreadyCompiledparameter togetSourceReportRPC.
11.10.0
- Add
wsUriproperty toVmService. If set, this property can be used to associate aVmServiceinstance to its targeted VM service based on its URI.
11.9.0
- Update to version
4.12of the spec. - Add
TypeParametersRef; change supertype ofTypeParameterstoObj.
11.8.0
- Update to version
4.11of the spec. - Add
isGetterandisSetterproperties toFuncRefandFunc.
11.7.3
- Update to version
4.10of the spec. - Add deprecation notice to
Breakpoint.isSyntheticAsyncContinuation.
11.7.2
- Make Event classes abstract to permit
dapevent stream extensions.
11.7.1
- Expose RPC error codes that were defined in
package:dds.
11.6.0
- Update to version
4.7of the spec. - Add deprecation notice to
Stack.awaiterFrames. - Add deprecation notice to
FrameKind.kAsyncActivation.
11.5.0
- Update to version
4.6of the spec. - Add
getPerfettoCpuSamplesRPC. - Add deprecation notice to
InstanceKind.TypeRef.
11.4.0
- Update to version
4.5of the spec. - Add
getPerfettoVMTimelineRPC.
11.3.0
- Update to version
4.4of the spec. - Add
labelproperty toInstanceRef. - Add
kUserTagtoInstanceKind.
11.2.1
- Prevent
VmServerConnectionfrom convertingSentinelExceptions intoRPCErrors.
11.2.0
- Update to version
4.3of the spec. - Add
isSealed,isMixinClass,isBaseClass,isInterfaceClass, andisFinalproperties toClass.
11.1.0
- Reduce number of type checks in
toJson()methods. - Update to version
4.2of the spec. - Add
getInstancesAsListRPC.
11.0.1
- Fix bug where code would try to call
.toJson()onints.
11.0.0
- Change
HttpProfileRequestRef.idtype frominttoString. - Change
SocketStatistic.idtype frominttoString. - Change
ext.dart.io.getHttpProfileRequestidparameter type frominttoString. - Change
ext.dart.io.httpEnableTimelineLoggingparameter from 'enable' to 'enabled'.
10.1.2
- Fix bug where code would try to call
.toJson()onStrings.
10.1.0
- Update to version
4.1of the spec. - Add optional
includeSubclassesandincludeImplementersparameters togetInstances.
10.0.0
- Update to version
4.0of the spec. - Update for incorrectly documented types for
WeakReference'starget,WeakProperty'skeyandvalue, andMirrorReference'smirrorReferent. - Add
Set,Record, andRecordTypetoInstanceKind. - Add deprecation notice to the
declproperty ofBoundField. - Add
nameproperty toBoundField. - Add deprecation notice to the
parentListIndexproperty ofInboundReference. - Change the type of the
parentFieldproperty ofInboundReferencefromFieldReftoFieldRef|String|int. - Add deprecation notice to the
parentListIndexproperty ofRetainingObject. - Change the type of the
parentFieldproperty ofRetainingObjectfromStringtoString|int. - Remove deprecated
timeSpanproperty fromCpuSamples. - Remove deprecated
timeSpanproperty fromCpuSamplesEvent.
9.4.0
- Update to version
3.61of the spec. - Add
isolateGroupIdproperty to@IsolateandIsolate.
9.3.0
- Update to version
3.60of the spec. - Add
gcTypeproperty toEvent.
9.2.0
- Update to version
3.59of the spec. - Add
abstractflag toFuncRef.
9.1.0
- Remove
requiredkeyword from most of the named parameters in the constructors of the Dart API objects.
9.0.0
- Update to version
3.58of the spec. - Added optional
localparameter tolookupResolvedPackageUrisRPC.
8.3.0
- Update to version
3.57of the spec. - Added optional
libraryFiltersparameter togetSourceReportRPC.
8.2.2+1
- Documentation update for
FieldRefandFuncRef.
8.2.2
- Updated the following optional fields to be nullable in
SocketStatistic:endTimelastReadTimelastWriteTime
8.2.1
- Changed type of
UriList.urisfromdynamictoList<String?>?. - Remove
example/vm_service_asserts.dart'
8.2.0
- Update to version
3.56of the spec. - Added optional
lineandcolumnproperties toSourceLocation. - Added a new
SourceReportKind,BranchCoverage, which reports branch level coverage information.
8.1.0
- Update to version
3.55of the spec. - Added
streamCpuSamplesWithUserTagRPC.
8.0.0
- Update to version
3.54of the spec. - breaking Updated type of
Event.cpuSamplesfromCpuSamplestoCpuSamplesEvent, which is less expensive to generate and serialize. - Added
CpuSamplesEventobject.
7.5.0
- Update to version
3.53of the spec. - Added
setIsolatePauseModeRPC. - Deprecated
setExceptionPauseModein favor ofsetIsolatePauseMode.
7.4.0
- Update to version
3.52of the spec. - Added
lookupResolvedPackageUrisandlookupPackageUrisRPCs andUriListtype.
7.3.0
- Update to version
3.51of the spec. - Added optional
reportLinesparameter togetSourceReportRPC.
7.1.1
- Update to version
3.48of the spec. - Added
showsandhidesproperties toLibraryDependency. - Added
Profilerstream,UserTagChangedevent kind, andupdatedTagandpreviousTagproperties toEvent. - Fixed bug where a response without a type would cause a null type failure (dart-lang/sdk#46559).
7.1.0
- Update to version
3.46of the spec. - Move
sourcePositionproperties intoClassRef,FieldRef, andFuncRef.
7.0.0
- breaking bug fix: Fixed issue where response parsing could fail for
Context. - Add support for
setBreakpointStateRPC and updatedBreakpointclass to includeenabledproperty.
6.2.0
- Added support for
getHttpProfileandclearHttpProfiledart:ioservice extensions.
6.1.1
- Callsite
StackTraces are now attached toRPCErrors andSentinelExceptions. - Added
identityHashCodeproperty toInstanceRefandInstance.
6.1.0+1
- Documentation update.
6.1.0
- breaking bug fix: Fixed issue where the root object was omitted from
HeapSnapshot.classesand the sentinelHeapSnapshotObjectwas omitted fromHeapSnapshot.objects - Added
identityHashCodeproperty toHeapSnapshotObject, which can be used to compare objects across heap snapshots. - Added
successorsiterable toHeapSnapshotObject, which provides a convenient way to access children of a given object. - Added
klassgetter toHeapSnapshotObject. - Fixed issue where
nullcould be returned instead ofInstanceRefof typeNull. - Added
getAllocationTracesandsetTraceClassAllocationRPCs. - Updated
CpuSampleto includeidentityHashCodeandclassIdproperties. - Updated
Classto includetraceAllocationsproperty.
6.0.1
- Stable null-safe release.
6.0.1-nullsafety.1
- Fix issue where some
Instanceproperties were not being populated correctly.
6.0.1-nullsafety.0
- Fix versioning for pub.
6.0.0-nullsafety.4
- Fixed issue where response parsing could fail for
SourceReportRange.coverageif no coverage information was provided.
6.0.0-nullsafety.3
- Fixed issue where
Response.typeand classes which overrideResponse.typewere returning the name of thepackage:vm_servicereference object (e.g., InstanceRef) instead of the type specified in the specification (e.g., @Instance).
6.0.0-nullsafety.2
- breaking Updated signature of
Field.staticValuetodynamicin order to properly allow for uninitialized sentinel values.
6.0.0-nullsafety.1
- breaking Null safety migration, take two. Assume all object fields are nullable.
6.0.0-nullsafety-dev
- breaking Migrate to use null safety.
5.5.1
- Fix issue where
VmService.onDonecould complete before the providedDisposeHandlerhad finished executing.
5.5.0
- Update to version
3.42.0of the spec. - Added optional
limitparameter togetStackRPC.
5.4.0
- Update to version
3.41.0of the spec. - Added
PortListclass. - Added
getPortsRPC. - Added optional properties
portId,allocationLocation, anddebugNametoInstanceRefandInstance.
5.3.1
- Rename
Stateclass to_Stateto avoid class name conflicts with Flutter.
5.3.0
- Added support for
dart:ioextensions version 1.5. - Added combination getter/setter
socketProfilingEnabled. - Deprecated
startSocketProfilingandpauseSocketProfiling. - Update to version
3.40.0of the spec. - Added
IsolateFlagclass. - Added
isolateFlagsproperty toIsolate.
5.2.0
- Added support for
dart:ioextensions version 1.3. - Added combination getter/setter
httpEnableTimelineLogging. - Deprecated
getHttpEnableTimelineLoggingandsetHttpEnableTimelineLogging.
5.1.0
- Added support for
dart:ioextensions version 1.2. - Added
getOpenFiles,getOpenFileById,getSpawnedProcesses, andgetSpawnedProcessByIdRPCs. - Added
OpenFileList,OpenFileRef,OpenFile,SpawnedProcessList,SpawnedProcessRef, andSpawnedProcessobjects.
5.0.0
- breaking: Update to version
3.39.0of the spec.- Removes
ClientNameandWebSocketTargetobjects - Removes
getClientName,getWebSocketTarget,requirePermissionToResume, andsetClientNameRPCs.
- Removes
- Added
isSystemIsolateproperty toIsolateRefandIsolate. - Added
isSystemIsolateGroupproperty toIsolateGroupRefandIsolateGroup. - Added
serviceIsolatesandserviceIsolateGroupsproperties toVM. - Fixed issue where
VmServerConnectionwould always response with a string ID even if the request ID was not a string.
4.2.0
- Update to version
3.37.0of the spec. - Added
getProcessMemoryUsageRPC andProcessMemoryUsageandProcessMemoryItemobjects. - Added
getWebSocketTargetRPC andWebSocketTargetobject.
4.1.0
- Update to version
3.35.0of the spec. - Expose more
@requiredparameters on the named constructors of VM service objects.
4.0.4
- Update to version
3.34.0of the spec. - Fixed issue where
TimelineEventswas not a valid service event kind. - Fixed issue where invoking a service extension with no arguments would result in a TypeError during request routing.
- Added
TimelineStreamSubscriptionsUpdateevent, which is broadcast whensetVMTimelineFlagsis used to change the set of currently recording timeline streams.
4.0.3
- Update to version
3.33.0of the spec. - Add static error code constants to
RPCError. - Update the toString() method or
RPCErrorand add a toMap() method.
4.0.2
- Fixed issue where RPC format did not conform to the JSON-RPC 2.0 specification.
- Added
getClassListRPC.
4.0.1
- Improved documentation.
- Fixed analysis issues.
4.0.0
- breaking: RPCs which can return a
Sentinelwill now throw aSentinelExceptionif aSentinelis received as a response. - breaking: RPCs which can return multiple values now return
Future<Response>rather thanFuture<dynamic>. RPCErrornow implementsException.
3.0.0
- breaking: RPCs which have an isolateId parameter now return
Future<dynamic>as aSentinelcan be returned if the target isolate no longer exists.
2.3.3
- Classes now implement their corresponding reference types to handle cases where the service returns a more specific type than promised.
2.3.2
- Added
getClientName,setClientName, andrequireResumePermissionmethods. - Added
ClientNameclass.
2.3.1
- Fixed issue where
dart:ioextensions were not being exported.
2.3.0
- Added
getHttpEnableTimelineLoggingandsetHttpEnableTimelineLoggingmethods. - Added
HttpTimelineLoggingStateclass.
2.2.1
- Fixed issue where
TimelineEvent.toJsonalways returned an empty map.
2.2.0
- Added support for interacting with dart:io service extensions.
- Bumped minimum SDK requirement to 2.6.0.
2.1.4
- Fixed issue where
TimelineEventalways had no content.
2.1.3
- Fixed issue where exception would be thrown when attempting to parse a List entry in a response which is not present. This occurs when connected to a service which does not yet support the latest service protocol supported by this package.
2.1.2
- Requests which have not yet completed when
VmService.disposeis invoked will now complete with anRPCErrorexception rather than aStringexception.
2.1.1
- Added
getLineNumberFromTokenPosandgetColumnNumberFromTokenPosmethods toScript.
2.1.0
- Added
HeapSnapshotGraphclass which parses the binary events posted to theHeapSnapshotstream after arequestHeapSnapshotinvocation. - Fixed issue where listening to
EventStream.kHeapSnapshotand callingrequestHeapSnapshotwould throw an exception.
2.0.0
- breaking: VM service objects which have fields now have constructors with
named parameters for each field. Required fields are annotated with
@required.
1.2.0
- Support service protocol version 3.27:
- Added
getCpuSamplesandclearCpuSamplesmethods - Added
CpuSamples,CpuSample, andProfileFunctionclasses.
- Added
1.1.2
- Fixed issue where
closureFunctionandclosureContextwere only expected inInstanceobjects rather thanInstanceRef.
1.1.1
- Fixed issue serializing list arguments for certain VM service methods.
- Issue #37872
1.1.0
- Support service protocol version 3.25:
- Added
getInboundReferences,getRetainingPathmethods - Added
InboundReferences,InboundReference,RetainingPath, andRetainingObjectobjects
- Added
1.0.1
- Support service protocol version 3.24:
- Added
operatingSystemproperty toVMobject
- Added
1.0.0+1
- Updated description and homepage.
1.0.0
- Migrated
vm_service_libinto the Dart SDK. - Renamed from
package:vm_service_libtopackage:vm_service. - Switched versioning system to follow semantic versioning standards instead of pinning versions to match the service protocol version.
3.22.2
- Fix
registerServiceRPC andServicestream not being handled correctly. - Fixed failing tests.
3.22.1
- breaking: Changed type of
libraryproperty inClassobjects fromObjectReftoLibraryRef.
3.22.0
- The
registerServiceRPC andServicestream are now public. Eventhas been updated to include the optionalservice,method, andaliasproperties.
3.21.1
- breaking: Fixed issue where an
InstanceRefof typenullcould be returned instead of null for non-InstanceRefproperties and return values. As a result, some property and return types have been changed from Obj to their correct types.
3.21.0
- support service protocol version 3.21
3.20.0+2
- allow optional params in
getVMTimeline
3.20.0+1
- handle null isolate ids in
callServiceExtension - add backwards compatibility for
InstanceSetandAllocationProfile
3.20.0
- rev to 3.20.0; expose public methods added in 3.17 - 3.20 VM Service Protocol versions
3.17.0+1
- generate a list of available event streams
3.17.0
- rev to 3.17.0; expose the Logging event and the getMemoryUsage call
3.15.1+2
- fix handling of errors in registered service callbacks to return valid JSON-RPC errors and avoid the client getting "Service Disappeared" responses
3.15.1+1
- rename
getVmWsUriFromObservatoryUritoconvertToWebSocketUrl - fix an assignment issue in
evaluate
3.15.1
- Add
getVmWsUriFromObservatoryUri, a helper function to convert observatory URIs into the required WebSocket URI for connecting to the VM service.
3.15.0
- support service protocol version 3.15
- fix an issue decoding null
Script.tokenPosTablevalues
3.14.3-dev.4
- Add support for the
_Servicestream in theVmServerConnectiondirectly.
3.14.3-dev.3
- Add support for automatically delegating service extension requests to the
client which registered them.
- This is only for services that are registered via the vm service protocol,
services registered through
dart:developershould be handled by theVmServiceInterfaceimplementation (which should invoke the registered callback directly).
- This is only for services that are registered via the vm service protocol,
services registered through
- Added a
ServiceExtensionRegistryclass, which tracks which clients have registered which service extensions. - breaking: Renamed
VmServertoVmServerConnection.- One
VmServerConnectionshould be created per client connection to the server. These should typically all share the same underlyingVmServiceInterfaceinstance, as well as the sameServiceExtensionRegistryinstance.
- One
3.14.3-dev.2
- Add
callServiceExtensionmethod to theVmServiceInterfaceclass.- The
VmServerwill delegate all requests whose methods start withext.to that implementation.
- The
3.14.3-dev.1
- Add
VmServiceInterfaceandVmServerclasses, which can handle routing jsonrpc2 requests to aVmServiceInterfaceinstance, and serializing the responses back.
3.14.3-dev.0
- Add
toJsonmethods to all classes.
3.14.2
- fix code generation for the
getSourceReportcall
3.14.1
- address an encoding issue with stdout / stderr text
3.14.0
- regenerate for
v3.14 - bump to a major version numbering scheme
0.3.10+2
- work around an issue de-serializing Instance.closureContext
0.3.10+1
- fix an issue de-serializing some object types
0.3.10
- regenerate for
v3.12 - expose
isolate.getScripts() - expose
isolate.getInstances()
0.3.9+2
- handle nulls for
Script.source - fix a decoding issue for
Script.tokenPosTable
0.3.9+1
- rev to version
3.9of the spec - expose
invoke
0.3.9
- Rename the
Nulltype toNullVal
0.3.8
- upgrades for Dart 2 dependencies
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
Instanceobjects
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
awaiterFramesfield - expose the
frameIndexparam for the step call
0.3.2+1
- fix a strong mode issue in the generated Dart library
0.3.2
- expose the
PausePostRequestevent
0.3.1
- fix a parsing issue with ExtensionData
0.2.4
- expose the service protocol timeline API
- add the new
Noneevent 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
ServiceExtensionAddedevent
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.inspecteefield
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
exceptionPauseModeto the Isolate class - added
hashCodeandoperator==methods to classes supporting object identity - work around a VM bug with the
typefield ofBoundVariableandBoundField
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
setExceptionPauseModemethod - 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
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add vm_servicepubspec.yaml
name: vm_service
version: 15.4.0
description: >-
A library to communicate with a service implementing the Dart VM
service protocol.
repository: https://github.com/dart-lang/sdk/tree/main/pkg/vm_service
environment:
sdk: ^3.5.0
resolution: workspace
# We use 'any' version constraints here as we get our package versions from
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the
# best practice for packages is to specify their compatible version ranges.
# See also https://dart.dev/tools/pub/dependencies.
dev_dependencies:
async: any
collection: any
lints: any
logging: any
markdown: any
path: any
pub_semver: any
stack_trace: any
test_package: any
test: any
vm_service_protos: any
dependency_overrides:
test_package:
path: 'test/test_package'
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 1.0.0 | 2019-07-25T19:34:39.518395Z | Cached | 88b66f1e843be9ab7642c8e74f292c9c4e89681a0ce32ac3b6fa7c8d307e83e3 |
| 1.0.0+1 | 2019-07-25T20:19:18.426745Z | Cached | 9ae7e735aa325038f2dbcd541fe0e59d08de14606dd9c8473c1975f1843fc20b |
| 1.0.1 | 2019-07-30T22:19:25.706180Z | Cached | 3b8a938cb6a154c0eee2e3e9dae30ce4954daee63b68a46ba39b5327ff62b1a9 |
| 1.1.0 | 2019-07-31T00:14:34.896759Z | Cached | 301f6dee2c9170cd91a96049cc80a6570d76a595e11d21490681dbba1339d225 |
| 1.1.1 | 2019-08-21T00:10:50.470916Z | Cached | b3d8cd40bf7d8bb274f35c80f0890c3b5e5b82866511ced949010a2f2c1b6dc0 |
| 1.1.2 | 2019-09-05T18:53:24.297216Z | Cached | a8232a8d5ebd6422bde7a7b10bbfa48545c8725d658d19e0aed76a9aa9514a5a |
| 1.2.0 | 2019-09-06T22:45:57.146499Z | Cached | 270f5f9e0ee7e2197c150a57d075b6a6d8a0f9b07b78908feac60f534fb4a33d |
| 2.0.0 | 2019-09-16T19:28:36.807250Z | Cached | b3a55fc8e184ddcf2eb3f9b4baa6c873da5239f47e0b5f4cb4f2793aef4f3731 |
| 2.1.0 | 2019-09-26T21:19:35.299043Z | Cached | 988af14b4dfcda4503d377ba4b8b8b532844610b7bbf01c5749bac2ee3589e55 |
| 2.1.1 | 2019-10-01T22:08:50.129661Z | Cached | 05a306b50d11f0f2d6ce5b1a708fd15f70f96121445d70e66969d7360767ae57 |
| 2.1.2 | 2019-11-27T22:53:53.006242Z | Cached | e148e3d8435a36a8b8dc696ae450a83e39a9926f1612fbd2d1b45b90bad53ae7 |
| 2.1.3 | 2019-12-03T22:52:57.975318Z | Cached | d7337c2270afe36cc0e5060b2fe4abdfa8a931cff1408ccd28641595c946ff6f |
| 2.1.4 | 2019-12-18T19:08:57.738949Z | Cached | b4ac5064d699749a1f046209bd07fe7d395b083c704acfaeeb20c68b0f570c55 |
| 2.2.0 | 2019-12-27T20:15:03.116433Z | Cached | 503982639b5d31b8a3a06c1f76bfa2f219a4b0c5cd5e132b65d0f0bd81a1084e |
| 2.2.1 | 2020-01-02T20:29:14.944956Z | Cached | 305a53c2a6901bfb507fb8abf63bc93e6f462016a48d171deb2726fe91457b8d |
| 2.3.0 | 2020-01-03T16:28:06.203544Z | Cached | ba1a5fdb89d8ba928758914f0aabbeef124fd2e9ab842e6f8ce9847f3c8f5b01 |
| 2.3.1 | 2020-01-03T18:22:06.163238Z | Cached | 346e10586d6a484f77c57d25b9dbc09adf6c422a0930d0ff25e3e883588595ff |
| 3.0.0 | 2020-02-28T18:17:32.041057Z | Cached | b4a087057cd944a8af5005aa7bff6279cca95c63cb801ea33af7a28f50329e40 |
| 3.0.0+1 | 2020-02-28T22:12:33.853442Z | Cached | 16ce1432f9d2043c2cb2c4b7cf476ed801a2c56248634c3d0935886cad97b321 |
| 4.0.0 | 2020-03-05T19:24:32.746633Z | Cached | fddde6e703a1a2fb3ca36a2677bcb5c136f5580d9bbedeef58796bdebd8d0f39 |
| 4.0.1 | 2020-04-15T00:30:42.564306Z | Cached | 99fb56856f57dd465d7d3d94a93ef96910af777d6325fd460ec5a1aca2b0f692 |
| 4.0.2 | 2020-04-24T00:10:50.326468Z | Cached | a4915b989786ea459acec07ea59893390d3df7fd01b6b41e213ba707f0a434a5 |
| 4.0.3 | 2020-05-08T18:46:38.466627Z | Cached | bb032cb7bd8e0c1a8ad0813ed5ba46ea6b901392fd3e8e4877c1fa97490da480 |
| 4.0.4 | 2020-05-12T19:29:53.628036Z | Cached | 432dd6dc68be738adaa54ba5ce54da49e6d7b77c829bb39927db0aa6407412fb |
| 4.1.0 | 2020-06-09T23:22:48.636403Z | Cached | 375766c1abd5c046b2623dfc7e158fa57bfd03b5c13f5b2f7791e69944331d25 |
| 4.2.0 | 2020-08-04T20:14:28.944190Z | Cached | 2cfe77be66c7f93d6b429aeb69a7203d90e07364ddb4d4576cb4a39cd0105f6d |
| 5.0.0 | 2020-09-03T20:23:08.564754Z | Cached | 307f58b68bb6badb28e58d870642549d716a43a9a04aaf3fbb6b36603f1f5f59 |
| 5.0.0+1 | 2020-09-09T18:56:48.658993Z | Cached | 3dd12e8825bf5dc361eca6a1017f2a3082d86ee3e2459bb0794c9f78923deb06 |
| 5.1.0 | 2020-09-18T20:18:45.163090Z | Cached | 026b198b8fc77816a33fb6a37d6c0bee28fa13223c0a7dd7d07793612c9e88ea |
| 5.1.0+1 | 2020-09-18T21:18:27.906427Z | Cached | 890368f6cea5b2bcf4a1ca6a2d5538beb43fa7c72679f45cd7897af5fa1e270e |
| 5.2.0 | 2020-09-24T15:09:45.847850Z | Cached | cbadcce4017d67bce0ec62e620bde9525ed4dc291e2f730571815cf1cce86868 |
| 5.3.0 | 2020-10-27T18:07:01.454775Z | Cached | 780011810922921fcca4f18679e575dd52a934ced6638e4695277dd392af4d0a |
| 5.3.1 | 2020-10-27T23:48:56.973377Z | Cached | 2ab8f8e30aabdff782f07843105546857ad19e8f5dcb336ea719c014c40e51e3 |
| 5.4.0 | 2020-10-29T17:10:56.255439Z | Cached | 5c69233b77bc61b99df271ea33634f46211685da5ed7ef77972ac197bf750da6 |
| 5.5.0 | 2020-11-06T20:33:05.947461Z | Cached | ec8861f85bf8037ebdb453066879ece9d0f25fdac42cd2ff4d43b47239d0f8aa |
| 6.0.0-nullsafety.1 | 2021-01-20T00:41:37.021095Z | Cached | 4669721838319cf0a7762e995d60205aec2f94f173b7d9bf201352ce369ecb5e |
| 6.0.0-nullsafety.2 | 2021-01-20T19:27:30.864378Z | Cached | ad71d7a8de492bbbfa17972ce023498ac8b0397b829d863f51635422ea600349 |
| 6.0.0-nullsafety.3 | 2021-01-21T01:10:37.533449Z | Cached | 126cf1e19ae63e9b347afce737bb3c874df544b1e923f694495fcc8baa388e3c |
| 6.0.0-nullsafety.4 | 2021-01-22T00:27:20.400990Z | Cached | 9c867a96fcb60db0d046df8a6ec170f10f4ca9b373a2274ad865691e21d33f5d |
| 6.0.0-nullsafety-dev | 2021-01-11T17:58:59.720487Z | Cached | ba28bdce11964f5db2f307acc9981871117bf4e8b7cbc07fb8a532f4771eb854 |
| 6.0.1-nullsafety.0 | 2021-01-22T00:53:51.610908Z | Cached | e2c5bb3b20dbed64787d1e2ff59a8deefaa0cf4c6fded86e3856b3077639c9fb |
| 6.0.1-nullsafety.1 | 2021-01-28T21:31:56.826628Z | Cached | 410b803fcbe3282f703d31345d1b6314be6976f0f8d427f47ca27c658c77d9ba |
| 6.0.1 | 2021-02-03T17:48:47.447365Z | Cached | ec44a21e53d319a9e6ed4952096b0334aece98f3cc2c28ac2e320a7370bc601a |
| 6.1.0 | 2021-02-18T21:53:39.819066Z | Cached | 684c278fb6303faf73e3a84d5805921c1b9ab8784bfea72375426cfd3bd0f557 |
| 6.1.0+1 | 2021-02-19T21:55:32.591860Z | Cached | 9a71c98ff3cb902be7d6df76d0e14c41d2f1727a1fc38b7c354fe03abb5c1753 |
| 6.2.0 | 2021-03-29T19:31:58.708516Z | Cached | 422eda09e2a50eb27fe9eca2c897d624cea7fa432a8442e1ea1a10d50a4321ab |
| 7.0.0 | 2021-05-11T18:06:26.836544Z | Cached | 053f5761ec78bfa0a3268befd52f7e5f2c14e891d678d7e62c09478817585467 |
| 7.1.0 | 2021-06-03T16:48:13.310927Z | Cached | f6c7c62374647d36cc0c67908a934f99ef17eb603cf678db090f01e55fa3e34d |
| 7.1.1 | 2021-07-15T20:56:38.561451Z | Cached | eb6706b55ae5bb6ca0db7ed9bf5d7673de50787bb473abc688f594374d4fa4b0 |
| 7.2.0 | 2021-07-28T04:22:00.854672Z | Cached | b1d11e33de8f753930adcba5153800b80351f586acf0254f4a59e4369948a05b |
| 7.3.0 | 2021-08-31T19:44:35.077073Z | Cached | 319f036ff2136bf1c8789ff627c104dd314001d911361154ccaa05cee4748753 |
| 7.4.0 | 2021-11-04T19:24:42.064218Z | Cached | 236d0319402bfb1391d3fef2ef2669c60217ba257459eadf2249d779a085f4bd |
| 7.5.0 | 2021-11-18T18:58:53.600988Z | Cached | 35ef1bbae978d7158e09c98dcdfe8673b58a30eb53e82833cc027e0aab2d5213 |
| 8.1.0 | 2021-12-17T17:58:16.497061Z | Cached | b5b99b53cb72c6e7461f86cf3201477bd4daca99ca8a636ffa0be7b967718909 |
| 8.2.0 | 2022-02-23T00:17:38.163534Z | Cached | 53a0258c5147f355130db4cafc42b8b5641426f0476d5d6b4b09d2472a25172a |
| 8.2.1 | 2022-03-09T21:25:48.159601Z | Cached | 5e10b8a57f571c4bc3bc45dddf708141fe10ceb5c1d44652a78e8ff497dc6db8 |
| 8.2.2 | 2022-03-17T16:49:25.872437Z | Cached | c00dc08bb7e15b745c85dbe7c6256f615dcaf3dc056131d3ee345b56eb2c3e7d |
| 8.3.0 | 2022-05-10T20:48:20.766244Z | Cached | e686ae49284939abc06972e25f634ccdb5007d5664c4dfa1995002e8b6aa27a9 |
| 9.0.0 | 2022-06-13T19:32:27.401147Z | Cached | c638564e9762c620ac8a14db3e51963ddea2f8c450c60c04e87212f29be27e02 |
| 9.2.0 | 2022-07-20T18:08:53.101056Z | Cached | a6c72d9518a6da0feaeb9e5dcf2a677c782cd3e5e816818c61274a4d0052c0be |
| 9.3.0 | 2022-07-20T18:09:40.219245Z | Cached | 41db1e8658a31fe5bf636139f7b918e388a31eea1a3491cd00bf2d3147d3dad0 |
| 9.4.0 | 2022-09-06T16:11:40.076712Z | Cached | e7fb6c2282f7631712b69c19d1bff82f3767eea33a2321c14fa59ad67ea391c7 |
| 10.0.0 | 2023-01-10T20:06:49.447114Z | Cached | 2215684c5cd662307140ba2b2a64d4a8f46efbf13dbfc4ec1ca22707c1ffa2b5 |
| 10.1.0 | 2023-01-19T19:37:53.930600Z | Cached | d069ad658b700fc5fb774771ac8997f226ca29a45e0a450776fff3d969c8ba8f |
| 10.1.1 | 2023-01-27T17:11:02.012661Z | Cached | ca7e8081a7e43a751ffd532e4f3ee634c78c5a2919f9a44ce567d08851dd1c73 |
| 10.1.2 | 2023-01-27T20:10:16.244232Z | Cached | 2277c73618916ae3c2082b6df67b6ebb64b4c69d9bf23b23700707952ac30e60 |
| 11.0.0 | 2023-02-06T20:28:36.844385Z | Cached | e7b7256761ea74283f4aeb85325957fc5ef12ec6f4811d3fdbb2bf52b7f9abd2 |
| 11.0.1 | 2023-02-07T20:58:33.819550Z | Cached | a4040e9852e56bf8a3c5a2e08a56f6facd76e75500cf2a922ce5d52394c4998a |
| 11.1.0 | 2023-02-21T17:35:38.412303Z | Cached | f24bfb5ea0b015205e583dda73d67de44785d583ad0889929deaff3a32359ff5 |
| 11.2.0 | 2023-02-27T21:15:28.464986Z | Cached | eb3cf3f45fc1500ae30481ac9ab788302fa5e8edc3f3eaddf183945ee93a8bf3 |
| 11.2.1 | 2023-03-20T20:04:58.286519Z | Cached | b3dfd4c8a6974975a7f348b663050f3c5812a9a544d993554ee9664bde0e0bf8 |
| 11.3.0 | 2023-03-23T17:44:40.007354Z | Cached | f6deed8ed625c52864792459709183da231ebf66ff0cf09e69b573227c377efe |
| 11.4.0 | 2023-04-21T19:05:35.663436Z | Cached | 518254c0d3ee20667a1feef39eefe037df87439851e4b3cb277e5b3f37afa2f0 |
| 11.5.0 | 2023-05-04T20:22:32.419738Z | Cached | d1ba6ce3fa60807433511f943b51607bd7073f8fe5c14286d66fec8e05c8d24c |
| 11.6.0 | 2023-05-10T19:28:55.848448Z | Cached | f3743ca475e0c9ef71df4ba15eb2d7684eecd5c8ba20a462462e4e8b561b2e11 |
| 11.7.0 | 2023-05-10T19:30:25.121259Z | Cached | 1311639ad908dfdcb64734ac1fbd60416234c06e4351846783a79c56848a5185 |
| 11.7.1 | 2023-06-12T19:25:02.888481Z | Cached | c620a6f783fa22436da68e42db7ebbf18b8c44b9a46ab911f666ff09ffd9153f |
| 11.7.2 | 2023-06-23T17:48:41.334567Z | Cached | b8c67f5fa3897b122cf60fe9ff314f7b0ef71eab25c5f8b771480bc338f48823 |
| 11.8.0 | 2023-07-17T15:25:44.583488Z | Cached | ada49637c27973c183dad90beb6bd781eea4c9f5f955d35da172de0af7bd3440 |
| 11.9.0 | 2023-08-03T15:03:03.177282Z | Cached | 0fae432c85c4ea880b33b497d32824b97795b04cdaa74d270219572a1f50268d |
| 11.10.0 | 2023-08-24T20:27:52.546223Z | Cached | c538be99af830f478718b51630ec1b6bee5e74e52c8a802d328d9e71d35d2583 |
| 12.0.0 | 2023-10-02T16:46:56.499969Z | Cached | a13d5503b4facefc515c8c587ce3cf69577a7b064a9f1220e005449cf1f64aad |
| 13.0.0 | 2023-10-25T14:09:44.502340Z | Cached | b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 |
| 14.0.0 | 2023-12-12T22:20:02.093882Z | Cached | a2662fb1f114f4296cf3f5a50786a2d888268d7776cf681aa17d660ffa23b246 |
| 14.1.0 | 2024-02-27T19:40:07.578999Z | Cached | e7d5ecd604e499358c5fe35ee828c0298a320d54455e791e9dcf73486bc8d9f0 |
| 14.2.0 | 2024-03-20T13:39:39.998460Z | Cached | a75f83f14ad81d5fe4b3319710b90dec37da0e22612326b696c9e1b8f34bbf48 |
| 14.2.1 | 2024-04-16T19:09:12.126878Z | Cached | 3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec |
| 14.2.2 | 2024-05-07T14:55:28.732988Z | Cached | 7475cb4dd713d57b6f7464c0e13f06da0d535d8b2067e188962a59bac2cf280b |
| 14.2.3 | 2024-05-30T17:31:16.356901Z | Cached | 360c4271613beb44db559547d02f8b0dc044741d0eeb9aa6ccdb47e8ec54c63a |
| 14.2.4 | 2024-06-14T13:52:18.895043Z | Cached | f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc |
| 14.2.5 | 2024-08-16T16:31:14.045630Z | Cached | 5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d |
| 14.3.0 | 2024-09-25T18:07:20.549383Z | Cached | f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b |
| 14.3.1 | 2024-10-22T20:15:19.703569Z | Cached | 0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14 |
| 15.0.0 | 2024-12-02T19:19:49.136166Z | Cached | ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02 |
| 15.0.1 | 2025-05-21T21:12:20.780152Z | Cached | 6f82e9ee8e7339f5d8b699317f6f3afc17c80a68ebef1bc0d6f52a678c14b1e6 |
| 15.0.2 | 2025-06-05T15:07:02.310602Z | Cached | 45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60 |
| 15.1.0 | 2026-04-14T19:12:02.985092Z | Cached | 046d3928e16fa4dc46e8350415661755ab759d9fc97fc21b5ab295f71e4f0499 |
| 15.2.0 | 2026-04-28T14:53:01.192790Z | Cached | 0016aef94fc66495ac78af5859181e3f3bf2026bd8eecc72b9565601e19ab360 |
| 15.3.0 | 2026-08-18T18:13:09.212600Z | Cached | 5f37239c4851efcef929cea7824e76df7f2f0970aef85d66bbc430afa40e72f0 |
| 15.4.0 | 2026-10-15T17:00:24.557960Z | Cached | 89b11d62e1040ee681af3b4f1c97a803ecbf010c6e8b9c5896ee5b08c3bf7b78 |
Dependencies
No direct dependencies declared.