pub struct BreakpointRecord {
pub id: i64,
pub line: i64,
pub column: Option<i64>,
pub condition: Option<String>,
pub hit_condition: Option<String>,
pub log_message: Option<String>,
pub hit_count: u64,
pub verified: bool,
pub message: Option<String>,
}Expand description
Individual breakpoint record
Stores the breakpoint metadata including unique ID, location, verification status, and optional condition.
Fields§
§id: i64Unique breakpoint identifier (monotonically increasing)
line: i64Line number (1-based)
column: Option<i64>Column number (0-based, optional)
condition: Option<String>Breakpoint condition (e.g., “$x > 10”)
hit_condition: Option<String>Breakpoint hit-count condition (e.g., “>= 5”, “%2”)
log_message: Option<String>Logpoint message. When present, hit events log output and continue.
hit_count: u64Number of times this breakpoint has been hit in the current session.
verified: boolWhether breakpoint was successfully verified
message: Option<String>Verification message (error/warning if not verified or adjusted)
Implementations§
Source§impl BreakpointRecord
impl BreakpointRecord
Sourcepub fn to_protocol(&self) -> Breakpoint
pub fn to_protocol(&self) -> Breakpoint
Convert to DAP protocol Breakpoint type
Trait Implementations§
Source§impl Clone for BreakpointRecord
impl Clone for BreakpointRecord
Source§fn clone(&self) -> BreakpointRecord
fn clone(&self) -> BreakpointRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BreakpointRecord
impl RefUnwindSafe for BreakpointRecord
impl Send for BreakpointRecord
impl Sync for BreakpointRecord
impl Unpin for BreakpointRecord
impl UnsafeUnpin for BreakpointRecord
impl UnwindSafe for BreakpointRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more