vm_service_client 0.2.3 copy "vm_service_client: ^0.2.3" to clipboard
vm_service_client: ^0.2.3 copied to clipboard

discontinued
outdatedDart 1 only

A client for the Dart VM service.

0.2.3 #

  • Add VMIsolate.observatoryUrl and VMObjectRef.observatoryUrl getters that provide access to human-friendly relative Observatory URLs for VM service objects.

0.2.2+4 #

  • Fix a bug where Isolate.invokeExtension() would fail if the extension method returned a non-Map value.

0.2.2+3 #

  • Fix strong-mode errors and warnings.

0.2.2+2 #

  • Narrow the dependency on source_span.

0.2.2+1 #

  • Fix some documentation comments.

0.2.2 #

  • Add getSourceReport to VMIsolateRef and VMScriptRef, which return a VMSourceReport for the target isolate or just the target script respectively.

0.2.1 #

  • 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() and VMScript.getSpan() now return spans with the correct line, column, and offset numbers.

0.2.0 #

  • Breaking change: new VMServiceClient() and new VMServiceClient.withoutJson() now take a StreamChannel rather than a Stream/Sink pair.

  • Breaking change: the static asynchronous factory VMServiceClient.connect() is now a synchronous constructor, new VMServiceClient.connect().

0.1.3 #

  • On VM service versions 3.4 and greater, VMIsolate.pauseEvent now returns an instance of VMNoneEvent before the isolate is runnable.

0.1.2+1 #

  • Drop the dependency on the crypto package.

0.1.2 #

  • Add VMIsolateRef.onExtensionEvent, which emits events posted by VM service extensions using postEvent in dart:developer.

  • Add VMIsolateRef.selectExtensionEvents(), which selects events with specific kinds posted by VM service extensions using postEvent in dart: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 using registerExtension in dart:developer.

  • Add VMIsolate.extensionRpcs, which returns the extension RPCs registered in a given isolate.

0.1.1+1 #

  • Fix a bug where VMPauseEvent.time would always be reported as null or crash.

0.1.1 #

  • Fix support for VM service protocol 1.0 events.

0.1.0 #

  • Initial version.