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({int? breakpointNumber, bool? enabled, bool? resolved, dynamic location, required String id, bool? isSyntheticAsyncContinuation})


breakpointNumber int?
A number identifying this breakpoint to the user.
getter/setter pair
classRef ClassRef?
If an object is allocated in the Dart heap, it will have a corresponding class object.
getter/setter pairinherited
enabled bool?
Is this breakpoint enabled?
getter/setter pair
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.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setteroverride
id String?
A unique identifier for an Object. Passed to the getObject RPC to reload this Object.
getter/setter pairinherited
isSyntheticAsyncContinuation bool?
Note: this property is deprecated and is always absent from the response.
getter/setter pair
json Map<String, dynamic>?
getter/setter pairinherited
location ↔ dynamic
SourceLocation when breakpoint is resolved, UnresolvedSourceLocation when a breakpoint is not resolved.
getter/setter pair
resolved bool?
Has this breakpoint been assigned to a specific program location?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
The size of this object in the heap.
getter/setter pairinherited
type String
no setteroverride


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


operator ==(Object other) bool
The equality operator.

Static Methods

parse(Map<String, dynamic>? json) Breakpoint?