The addBreakpoint RPC is used to add a breakpoint at a specific line of
some script. This RPC is useful when a script has not yet been assigned an
id, for example, if a script is in a deferred library which has not yet
been loaded.
The evaluateInFrame RPC is used to evaluate an expression in the context
of a particular stack frame. frameIndex is the index of the desired
Frame, with an index of 0 indicating the top (most recent) frame.
The getAllocationTraces RPC allows for the retrieval of allocation
traces for objects of a specific set of types (see
VmService.setTraceClassAllocation). Only samples collected in the time
range [timeOriginMicros, timeOriginMicros + timeExtentMicros] will be
reported.
The getInstancesAsList RPC is used to retrieve a set of instances which
are of a specific class. This RPC returns an InstanceRef corresponding
to a Dart List<dynamic> that contains the requested instances. This
List is not growable, but it is otherwise mutable. The response type is
what distinguishes this RPC from getInstances, which returns an
InstanceSet.
The getPerfettoCpuSamples RPC is used to retrieve samples collected by
the CPU profiler, serialized in Perfetto's proto format. See
PerfettoCpuSamples for a detailed description of the response.
The getPerfettoVMTimeline RPC is used to retrieve an object which
contains a VM timeline trace represented in Perfetto's proto format. See
PerfettoTimeline for a detailed description of the response.
The getRetainingPath RPC is used to lookup a path from an object
specified by targetId to a GC root (i.e., the object which is preventing
this object from being garbage collected).
The getVMTimelineMicros RPC returns the current time stamp from the
clock used by the timeline, similar to Timeline.now in dart:developer
and Dart_TimelineGetMicros in the VM embedding API.
The invoke RPC is used to perform regular method invocation on some
receiver, as if by dart:mirror's ObjectMirror.invoke. Note this does not
provide a way to perform getter, setter or constructor invocation.
The lookupPackageUris RPC is used to convert a list of URIs to their
unresolved paths. For example, URIs passed to this RPC are mapped in the
following ways:
The lookupResolvedPackageUris RPC is used to convert a list of URIs to
their resolved (or absolute) paths. For example, URIs passed to this RPC
are mapped in the following ways:
Registers a service that can be invoked by other VM service clients, where
service is the name of the service to advertise and alias is an
alternative name for the registered service.
The setFlag RPC is used to set a VM flag at runtime. Returns an error if
the named flag does not exist, the flag may not be set at runtime, or the
value is of the wrong type for the flag.
The setTraceClassAllocation RPC allows for enabling or disabling
allocation tracing for a specific type of object. Allocation traces can be
retrieved with the getAllocationTraces RPC.
The streamCpuSamplesWithUserTag RPC allows for clients to specify which
CPU samples collected by the profiler should be sent over the Profiler
stream. When called, the VM will stream CpuSamples events containing
CpuSample's collected while a user tag contained in userTags was
active.