SourceBreakpoint class

Properties of a breakpoint or logpoint passed to the setBreakpoints request.

Constructors

SourceBreakpoint({int? column, String? condition, String? hitCondition, required int line, String? logMessage})
SourceBreakpoint.fromMap(Map<String, Object?> obj)

Properties

column int?
Start position within source line of the breakpoint or logpoint. It is measured in UTF-16 code units and the client capability columnsStartAt1 determines whether it is 0- or 1-based.
final
condition String?
The expression for conditional breakpoints. It is only honored by a debug adapter if the corresponding capability supportsConditionalBreakpoints is true.
final
hashCode int
The hash code for this object.
no setterinherited
hitCondition String?
The expression that controls how many hits of the breakpoint are ignored. The debug adapter is expected to interpret the expression as needed. The attribute is only honored by a debug adapter if the corresponding capability supportsHitConditionalBreakpoints is true. If both this property and condition are specified, hitCondition should be evaluated only if the condition is met, and the debug adapter should stop only if both conditions are met.
final
line int
The source line of the breakpoint or logpoint.
final
logMessage String?
If this attribute exists and is non-empty, the debug adapter must not 'break' (stop) but log the message instead. Expressions within {} are interpolated. The attribute is only honored by a debug adapter if the corresponding capability supportsLogPoints is true. If either hitCondition or condition is specified, then the message should only be logged if those conditions are met.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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) SourceBreakpoint