Struct Capabilities

Source
pub struct Capabilities {
Show 40 fields pub supports_configuration_done_request: Option<bool>, pub supports_function_breakpoints: Option<bool>, pub supports_conditional_breakpoints: Option<bool>, pub supports_hit_conditional_breakpoints: Option<bool>, pub supports_evaluate_for_hovers: Option<bool>, pub exception_breakpoint_filters: Option<Vec<ExceptionBreakpointsFilter>>, pub supports_step_back: Option<bool>, pub supports_set_variable: Option<bool>, pub supports_restart_frame: Option<bool>, pub supports_goto_targets_request: Option<bool>, pub supports_step_in_targets_request: Option<bool>, pub supports_completions_request: Option<bool>, pub completion_trigger_characters: Option<Vec<String>>, pub supports_modules_request: Option<bool>, pub additional_module_columns: Option<Vec<ColumnDescriptor>>, pub supported_checksum_algorithms: Option<Vec<ChecksumAlgorithm>>, pub supports_restart_request: Option<bool>, pub supports_exception_options: Option<bool>, pub supports_value_formatting_options: Option<bool>, pub supports_exception_info_request: Option<bool>, pub support_terminate_debuggee: Option<bool>, pub support_suspend_debuggee: Option<bool>, pub supports_delayed_stack_trace_loading: Option<bool>, pub supports_loaded_sources_request: Option<bool>, pub supports_log_points: Option<bool>, pub supports_terminate_threads_request: Option<bool>, pub supports_set_expression: Option<bool>, pub supports_terminate_request: Option<bool>, pub supports_data_breakpoints: Option<bool>, pub supports_read_memory_request: Option<bool>, pub supports_write_memory_request: Option<bool>, pub supports_disassemble_request: Option<bool>, pub supports_cancel_request: Option<bool>, pub supports_breakpoint_locations_request: Option<bool>, pub supports_clipboard_context: Option<bool>, pub supports_stepping_granularity: Option<bool>, pub supports_instruction_breakpoints: Option<bool>, pub supports_exception_filter_options: Option<bool>, pub supports_single_thread_execution_requests: Option<bool>, pub breakpoint_modes: Option<Vec<BreakpointMode>>,
}
Expand description

Information about the capabilities of a debug adapter.

Fields§

§supports_configuration_done_request: Option<bool>

The debug adapter supports the configurationDone request.

§supports_function_breakpoints: Option<bool>

The debug adapter supports function breakpoints.

§supports_conditional_breakpoints: Option<bool>

The debug adapter supports conditional breakpoints.

§supports_hit_conditional_breakpoints: Option<bool>

The debug adapter supports breakpoints that break execution after a specified number of hits.

§supports_evaluate_for_hovers: Option<bool>

The debug adapter supports a (side effect free) evaluate request for data hovers.

§exception_breakpoint_filters: Option<Vec<ExceptionBreakpointsFilter>>

Available exception filter options for the setExceptionBreakpoints request.

§supports_step_back: Option<bool>

The debug adapter supports stepping back via the stepBack and reverseContinue requests.

§supports_set_variable: Option<bool>

The debug adapter supports setting a variable to a value.

§supports_restart_frame: Option<bool>

The debug adapter supports restarting a frame.

§supports_goto_targets_request: Option<bool>

The debug adapter supports the gotoTargets request.

§supports_step_in_targets_request: Option<bool>

The debug adapter supports the stepInTargets request.

§supports_completions_request: Option<bool>

The debug adapter supports the completions request.

§completion_trigger_characters: Option<Vec<String>>

The set of characters that should trigger completion in a REPL. If not specified, the UI should assume the . character.

§supports_modules_request: Option<bool>

The debug adapter supports the modules request.

§additional_module_columns: Option<Vec<ColumnDescriptor>>

The set of additional module information exposed by the debug adapter.

§supported_checksum_algorithms: Option<Vec<ChecksumAlgorithm>>

Checksum algorithms supported by the debug adapter.

§supports_restart_request: Option<bool>

The debug adapter supports the restart request. In this case a client should not implement restart by terminating and relaunching the adapter but by calling the restart request.

§supports_exception_options: Option<bool>

The debug adapter supports exceptionOptions on the setExceptionBreakpoints request.

§supports_value_formatting_options: Option<bool>

The debug adapter supports a format attribute on the stackTrace, variables, and evaluate requests.

§supports_exception_info_request: Option<bool>

The debug adapter supports the exceptionInfo request.

§support_terminate_debuggee: Option<bool>

The debug adapter supports the terminateDebuggee attribute on the disconnect request.

§support_suspend_debuggee: Option<bool>

The debug adapter supports the suspendDebuggee attribute on the disconnect request.

§supports_delayed_stack_trace_loading: Option<bool>

The debug adapter supports the delayed loading of parts of the stack, which requires that both the startFrame and levels arguments and the totalFrames result of the stackTrace request are supported.

§supports_loaded_sources_request: Option<bool>

The debug adapter supports the loadedSources request.

§supports_log_points: Option<bool>

The debug adapter supports log points by interpreting the logMessage attribute of the SourceBreakpoint.

§supports_terminate_threads_request: Option<bool>

The debug adapter supports the terminateThreads request.

§supports_set_expression: Option<bool>

The debug adapter supports the setExpression request.

§supports_terminate_request: Option<bool>

The debug adapter supports the terminate request.

§supports_data_breakpoints: Option<bool>

The debug adapter supports data breakpoints.

§supports_read_memory_request: Option<bool>

The debug adapter supports the readMemory request.

§supports_write_memory_request: Option<bool>

The debug adapter supports the writeMemory request.

§supports_disassemble_request: Option<bool>

The debug adapter supports the disassemble request.

§supports_cancel_request: Option<bool>

The debug adapter supports the cancel request.

§supports_breakpoint_locations_request: Option<bool>

The debug adapter supports the breakpointLocations request.

§supports_clipboard_context: Option<bool>

The debug adapter supports the clipboard context value in the evaluate request.

§supports_stepping_granularity: Option<bool>

The debug adapter supports stepping granularities (argument granularity) for the stepping requests.

§supports_instruction_breakpoints: Option<bool>

The debug adapter supports adding breakpoints based on instruction references.

§supports_exception_filter_options: Option<bool>

The debug adapter supports filterOptions as an argument on the setExceptionBreakpoints request.

§supports_single_thread_execution_requests: Option<bool>

The debug adapter supports the singleThread property on the execution requests (continue, next, stepIn, stepOut, reverseContinue, stepBack).

§breakpoint_modes: Option<Vec<BreakpointMode>>

Modes of breakpoints supported by the debug adapter, such as ‘hardware’ or ‘software’. If present, the client may allow the user to select a mode and include it in its setBreakpoints request.

Clients may present the first applicable mode in this array as the ‘default’ mode in gestures that set breakpoints.

Trait Implementations§

Source§

impl Clone for Capabilities

Source§

fn clone(&self) -> Capabilities

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Capabilities

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Capabilities

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Capabilities

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Capabilities

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,