Struct dap_types::FunctionBreakpoint
source · pub struct FunctionBreakpoint {
pub name: String,
pub condition: Option<String>,
pub hit_condition: Option<String>,
}
Expand description
Properties of a breakpoint passed to the setFunctionBreakpoints
request.
Fields§
§name: String
The name of the function.
condition: Option<String>
An expression for conditional breakpoints.
It is only honored by a debug adapter if the corresponding capability supportsConditionalBreakpoints
is true.
hit_condition: Option<String>
An 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.
Trait Implementations§
source§impl Clone for FunctionBreakpoint
impl Clone for FunctionBreakpoint
source§fn clone(&self) -> FunctionBreakpoint
fn clone(&self) -> FunctionBreakpoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FunctionBreakpoint
impl Debug for FunctionBreakpoint
source§impl<'de> Deserialize<'de> for FunctionBreakpoint
impl<'de> Deserialize<'de> for FunctionBreakpoint
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FunctionBreakpoint
impl RefUnwindSafe for FunctionBreakpoint
impl Send for FunctionBreakpoint
impl Sync for FunctionBreakpoint
impl Unpin for FunctionBreakpoint
impl UnwindSafe for FunctionBreakpoint
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