Breakpoint class

A Breakpoint describes a debugger breakpoint.

A breakpoint is resolved when it has been assigned to a specific program location. A breakpoint my remain unresolved when it is in code which has not yet been compiled or in a library which has not been loaded (i.e. a deferred library).



Breakpoint({@required int breakpointNumber, @required bool resolved, @required dynamic location, @required String id, bool isSyntheticAsyncContinuation})


breakpointNumber int
A number identifying this breakpoint to the user.
read / write
classRef ClassRef
If an object is allocated in the Dart heap, it will have a corresponding class object. [...]
@optional, read / write, inherited
fixedId bool
Provided and set to true if the id of an Object is fixed. If true, the id of an Object is guaranteed not to change or expire. The object may, however, still be Collected.
@optional, read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, override
id String
A unique identifier for an Object. Passed to the getObject RPC to reload this Object. [...]
read / write, inherited
isSyntheticAsyncContinuation bool
Is this a breakpoint that was added synthetically as part of a step OverAsyncSuspension resume command?
@optional, read / write
json Map<String, dynamic>
read / write, inherited
location ↔ dynamic
SourceLocation when breakpoint is resolved, UnresolvedSourceLocation when a breakpoint is not resolved. [...]
read / write
resolved bool
Has this breakpoint been assigned to a specific program location?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
The size of this object in the heap. [...]
@optional, read / write, inherited
type String
Every response returned by the VM Service has the type property. This allows the client distinguish between different kinds of responses.
read / write, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


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

Static Methods

parse(Map<String, dynamic> json) Breakpoint