Breakpoint class

Information about a breakpoint created in setBreakpoints, setFunctionBreakpoints, setInstructionBreakpoints, or setDataBreakpoints requests.

Constructors

Breakpoint({int? column, int? endColumn, int? endLine, int? id, String? instructionReference, int? line, String? message, int? offset, Source? source, required bool verified})
Breakpoint.fromMap(Map<String, Object?> obj)

Properties

column int?
Start position of the source range covered by the breakpoint. It is measured in UTF-16 code units and the client capability columnsStartAt1 determines whether it is 0- or 1-based.
final
endColumn int?
End position of the source range covered by the breakpoint. It is measured in UTF-16 code units and the client capability columnsStartAt1 determines whether it is 0- or 1-based. If no end line is given, then the end column is assumed to be in the start line.
final
endLine int?
The end line of the actual range covered by the breakpoint.
final
hashCode int
The hash code for this object.
no setterinherited
id int?
The identifier for the breakpoint. It is needed if breakpoint events are used to update or remove breakpoints.
final
instructionReference String?
A memory reference to where the breakpoint is set.
final
line int?
The start line of the actual range covered by the breakpoint.
final
message String?
A message about the state of the breakpoint. This is shown to the user and can be used to explain why a breakpoint could not be verified.
final
offset int?
The offset from the instruction reference. This can be negative.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source Source?
The source where the breakpoint is located.
final
verified bool
If true, the breakpoint could be set (but not necessarily at the desired location).
final

Methods

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

Operators

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

Static Methods

canParse(Object? obj) bool
fromJson(Map<String, Object?> obj) Breakpoint