VMIsolateRef class

A reference to an isolate on the remote VM.

The full isolate with additional metadata can be loaded using load.

Implementers

Properties

hashCode → int
The hash code for this object. [...]
read-only
name → String
A name identifying this isolate for debugging. [...]
final
number → int
A unique numeric ID for this isolate. [...]
final
numberAsString → String
The string representation of number.
final
observatoryUrl → Uri
A relative URL for humans to inspect and interact with this isolate in the Observatory UI. [...]
read-only
onBreakpointAdded → Stream<VMBreakpoint>
A broadcast stream that emits a VMBreakpoint whenever a breakpoint is added.
read-only
onExit → Future
A future that fires when the isolate exits. [...]
read-only
onExtensionAdded → Stream<String>
A broadcast stream that emits an event whenever a new VM service extension RPC is registered. [...]
read-only
onExtensionEvent → Stream<VMExtensionEvent>
A broadcast stream that emits custom events posted using postEvent from dart:developer. [...]
read-only
onGC → Stream
A broadcast stream that emits a null value every time a garbage collection occurs in this isolate.
read-only
onPauseOrResume → Stream<VMPauseEvent>
A broadcast stream that emits a VMPauseEvent whenever this isolate is paused or resumed.
read-only
onUpdate → Stream<VMIsolateRef>
A broadcast stream that emits a new reference to this isolate every time its metadata changes.
read-only
stderr → Stream<List<int>>
A broadcast stream that emits this isolate's standard error. [...]
read-only
stdout → Stream<List<int>>
A broadcast stream that emits this isolate's standard output. [...]
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addBreakpoint(dynamic uri, int line, { int column }) → Future<VMBreakpoint>
Adds a breakpoint at line (and optionally column) in the script with the given canonical uri. [...]
getSourceReport({bool includeCoverageReport: true, bool includePossibleBreakpoints: true, bool forceCompile: false }) → Future<VMSourceReport>
Generates a report of code coverage information and possible break points for the scripts in this isolate. [...]
getStack() → Future<VMStack>
Returns the isolate's current execution stack and message queue.
invokeExtension(String method, [ Map<String, String> params ]) → Future<Object>
Invokes the VM service extension RPC named method registered in this isolate. [...]
load() → Future<VMIsolate>
Loads the full representation of this isolate. [...]
loadRunnable() → Future<VMRunnableIsolate>
Loads the full representation of this isolate once it becomes runnable. [...]
pause() → Future
Pauses this isolate. [...]
resume({VMStep step }) → Future
Resumes execution of this isolate, if it's paused. [...]
selectExtensionEvents(String kind, { bool prefix: false }) → Stream<VMExtensionEvent>
Returns a broadcast stream that emits custom events posted via postEvent from the dart:developer package. [...]
setExceptionPauseMode(VMExceptionPauseMode mode) → Future
Sets the pause behaviour for exceptions.
setName(String name) → Future
Sets the name of the isolate. [...]
toString() → String
Returns a string representation of this object.
waitForExtension(String name) → Future
Returns a future that completes once the VM service extension RPC with the given name is available. [...]
waitUntilPaused() → Future
Returns a future that completes once this isolate is paused. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]