DdsExtension extension
Methods
getAvailableCachedCpuSamples ()
→ Future <AvailableCachedCpuSamples >
The getAvailableCachedCpuSamples RPC is used to determine which caches of CPU samples
are available. Caches are associated with individual UserTag names and are specified
when DDS is started via the cachedUserTags
parameter.
getCachedCpuSamples (String isolateId , String userTag )
→ Future <CachedCpuSamples >
The getCachedCpuSamples RPC is used to retrieve a cache of CPU samples
collected under a UserTag with name userTag
.
getClientName ()
→ Future <ClientName >
The getClientName RPC is used to retrieve the name associated with the
currently connected VM service client.
getDartDevelopmentServiceVersion ()
→ Future <Version >
The getDartDevelopmentServiceVersion RPC is used to determine what version of
the Dart Development Service Protocol is served by a DDS instance.
getLogHistorySize (String isolateId )
→ Future <Size >
The getLogHistorySize RPC is used to retrieve the current size of the
log history buffer.
getPerfettoVMTimelineWithCpuSamples ({int ? timeOriginMicros , int ? timeExtentMicros })
→ Future <PerfettoTimeline >
The getPerfettoVMTimelineWithCpuSamples RPC functions nearly identically
to VmService.getPerfettoVMTimeline
, except the trace
field of the
PerfettoTimeline
response returned by this RPC will be a Base64 string
encoding a Perfetto-format trace that includes not only all timeline
events in the specified time range, but also all CPU samples from all
isolates in the specified time range.
getStreamHistory (String stream )
→ Future <StreamHistory >
Retrieve the event history for stream
.
onEventWithHistory (String stream )
→ Stream <Event >
Returns the stream for a given stream id which includes historical
events.
postEvent (String stream , String eventKind , Map <String , Object ? > eventData )
→ Future <void >
Send an event to the stream
.
readyToResume (String isolateId )
→ Future <Success >
The readyToResume RPC indicates to DDS that the current client is ready
to resume the isolate.
requirePermissionToResume ({bool onPauseStart = false , bool onPauseReload = false , bool onPauseExit = false })
→ Future <Success >
The requirePermissionToResume RPC is used to change the pause/resume
behavior of isolates.
requireUserPermissionToResume ({bool onPauseStart = false , bool onPauseExit = false })
→ Future <Success >
The requireUserPermissionToResume RPC notifies DDS if it should wait
for a VmService.resume
request to resume isolates paused on start or
exit.
setClientName ([String name = '' ])
→ Future <Success >
The setClientName RPC is used to set a name to be associated with the
currently connected VM service client.
setLogHistorySize (String isolateId , int size )
→ Future <Success >
The setLogHistorySize RPC is used to set the size of the ring buffer
used for caching a limited set of historical log messages.