Class SessionBreakpointLine
A breakpoint as a client asks for it: a line, whether it is on, and the condition it waits on, as the person typed it.
public record SessionBreakpointLine : IEquatable<SessionBreakpointLine>
- Inheritance
-
SessionBreakpointLine
- Implements
- Inherited Members
Remarks
The language server parses the condition and sends the host the expression (ConditionJson). A condition that is not an expression is refused there, and the result says why (ConditionError); it is not evaluated until the program reaches the line, since what its names are is the activation's that reaches it.
Properties
Condition
The source of the expression the program waits on when it reaches the line, a Boolean condition as an If has (see Condition);
null or blank for a breakpoint that is always waited at.
public string? Condition { get; init; }
Property Value
IsEnabled
Whether the program waits at the line. A disabled breakpoint is kept, and is not waited at.
public bool IsEnabled { get; init; }
Property Value
Line
The zero-based line of the source.
public int Line { get; init; }