pub struct SBBreakpoint {
    pub raw: SBBreakpointRef,
}
Expand description

A logical breakpoint and its associated settings.

To Hit or Not

A breakpoint has multiple ways of controlling whether or not it should be considered active.

A count of how many times a breakpoint has been it is available via SBBreakpoint::hit_count().

Breakpoint Names and Aliases

Breakpoints can have names associated with them. These are actually more like tags in that the same name can be applied to multiple breakpoints so that a single command invocation can work on multiple breakpoints at once.

A common use case for this is setting up families of breakpoints, for example on malloc, realloc, and free and giving them all a name of memory. Then, you can make it easy for the user enable or disable them all in a single shot.

Names are managed via SBBreakpoint::add_name(), SBBreakpoint::remove_name(), SBBreakpoint::matches_name() and SBBreakpoint::names().

Breakpoint Locations

Fields

raw: SBBreakpointRef

The underlying raw SBBreakpointRef.

Implementations

Check whether or not this is a valid SBBreakpoint value.

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
Executes the destructor for this type. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.