VMIsolate class

A full isolate on the remote VM.

Inheritance
Implementers

Properties

breakpoints → List<VMBreakpoint>
All breakpoints currently registered for this isolate.
final
error VMError
The error that's causing the isolate to exit or null.
final
exceptionPauseMode VMExceptionPauseMode
The current pause on exception mode for this isolate.
final
extensionRpcs → List<String>
The VM service extension RPCs that are currently registered for this isolate. [...]
final
isPaused → bool
Whether this isolate is paused.
read-only
livePorts → int
The number of live ports on this isolate.
final
pauseEvent VMPauseEvent
The last pause event delivered to this isolate. [...]
final
pauseOnExit → bool
Whether this isolate will pause before it exits.
final
startTime → DateTime
The time that the isolate started running.
final
hashCode → int
The hash code for this object. [...]
read-only, inherited
name → String
A name identifying this isolate for debugging. [...]
final, inherited
number → int
A unique numeric ID for this isolate. [...]
final, inherited
numberAsString → String
The string representation of number.
final, inherited
observatoryUrl → Uri
A relative URL for humans to inspect and interact with this isolate in the Observatory UI. [...]
read-only, inherited
onBreakpointAdded → Stream<VMBreakpoint>
A broadcast stream that emits a VMBreakpoint whenever a breakpoint is added.
read-only, inherited
onExit → Future
A future that fires when the isolate exits. [...]
read-only, inherited
onExtensionAdded → Stream<String>
A broadcast stream that emits an event whenever a new VM service extension RPC is registered. [...]
read-only, inherited
onExtensionEvent → Stream<VMExtensionEvent>
A broadcast stream that emits custom events posted using postEvent from dart:developer. [...]
read-only, inherited
onGC → Stream
A broadcast stream that emits a null value every time a garbage collection occurs in this isolate.
read-only, inherited
onPauseOrResume → Stream<VMPauseEvent>
A broadcast stream that emits a VMPauseEvent whenever this isolate is paused or resumed.
read-only, inherited
onUpdate → Stream<VMIsolateRef>
A broadcast stream that emits a new reference to this isolate every time its metadata changes.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
stderr → Stream<List<int>>
A broadcast stream that emits this isolate's standard error. [...]
read-only, inherited
stdout → Stream<List<int>>
A broadcast stream that emits this isolate's standard output. [...]
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. [...]
inherited
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. [...]
inherited
getStack() → Future<VMStack>
Returns the isolate's current execution stack and message queue.
inherited
invokeExtension(String method, [ Map<String, String> params ]) → Future<Object>
Invokes the VM service extension RPC named method registered in this isolate. [...]
inherited
load() → Future<VMIsolate>
Loads the full representation of this isolate. [...]
inherited
loadRunnable() → Future<VMRunnableIsolate>
Loads the full representation of this isolate once it becomes runnable. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
pause() → Future
Pauses this isolate. [...]
inherited
resume({VMStep step }) → Future
Resumes execution of this isolate, if it's paused. [...]
inherited
selectExtensionEvents(String kind, { bool prefix: false }) → Stream<VMExtensionEvent>
Returns a broadcast stream that emits custom events posted via postEvent from the dart:developer package. [...]
inherited
setExceptionPauseMode(VMExceptionPauseMode mode) → Future
Sets the pause behaviour for exceptions.
inherited
setName(String name) → Future
Sets the name of the isolate. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited
waitForExtension(String name) → Future
Returns a future that completes once the VM service extension RPC with the given name is available. [...]
inherited
waitUntilPaused() → Future
Returns a future that completes once this isolate is paused. [...]
inherited

Operators

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