pub struct Breakpoint {
    pub column: Option<i64>,
    pub end_column: Option<i64>,
    pub end_line: Option<i64>,
    pub id: Option<i64>,
    pub instruction_reference: Option<String>,
    pub line: Option<i64>,
    pub message: Option<String>,
    pub offset: Option<i64>,
    pub source: Option<Source>,
    pub verified: bool,
}
Expand description

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

Fields

column: Option<i64>

An optional start column of the actual range covered by the breakpoint.

end_column: Option<i64>

An optional end column of the actual range covered by the breakpoint. If no end line is given, then the end column is assumed to be in the start line.

end_line: Option<i64>

An optional end line of the actual range covered by the breakpoint.

id: Option<i64>

An optional identifier for the breakpoint. It is needed if breakpoint events are used to update or remove breakpoints.

instruction_reference: Option<String>

An optional memory reference to where the breakpoint is set.

line: Option<i64>

The start line of the actual range covered by the breakpoint.

message: Option<String>

An optional 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.

offset: Option<i64>

An optional offset from the instruction reference. This can be negative.

source: Option<Source>

The source where the breakpoint is located.

verified: bool

If true breakpoint could be set (but not necessarily at the desired location).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more