VMBreakpoint class

A debugger breakpoint.

A breakpoint corresponds to a location in the source file. Before the isolate would execute that location, it pauses.

A breakpoint starts out unresolved, meaning that the exact location of the breakpoint is imprecisely known because its script has not yet been fully loaded. Once that script is fully loaded, the breakpoint is resolved and its location is fully avaiable. A resolved breakpoint is always represented as a VMResolvedBreakpoint, no matter how it was loaded. The easiest way to wait for a breakpoint to be resolved is by calling loadResolved.

Unlike most VMObjects, this has no corresponding VMObjectRef type. The full metadata is always available.

Inheritance
Implementers

Properties

hashCode int
The hash code for this object. [...]
read-only, override
klass VMClassRef
This object's class, or null if this object wasn't allocated on the Dart heap. [...]
final
location VMBreakpointLocation
read-only
number int
The number of this breakpoint. [...]
final
observatoryUrl Uri
A relative URL for humans to inspect and possibly interact with this object in the Observatory UI. [...]
read-only, override
onPause Stream<VMBreakpoint>
A stream that emits a copy of this each time it causes the isolate to become paused.
read-only
onRemove Future
A future that fires when this breakpoint is removed. [...]
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
The size (in bytes) of this object on the heap. [...]
final

Methods

load() Future<VMBreakpoint>
Loads a full version of this object. [...]
override
loadResolved() Future<VMBreakpoint>
Reloads this breakpoint once it's resolved. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
remove() Future
Removes this breakpoint.
toString() String
Returns a string representation of this object.
override

Operators

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