package dap
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=0b4cdef2ec61b98f73b686a6cb9cde8dde14404097f52a9367c55f1667441712
sha512=ba1897e3afa66b34ad65911dee0b433c48756a5c81467b6277cc2fc1f4360533af7c707744b87707afa9891886dcdb0f7fa7e1653807903f5bd2c1d36a4d92d0
doc/dap.types/Debug_protocol/Capabilities/index.html
Module Debug_protocol.CapabilitiesSource
type t = {supports_configuration_done_request : bool option;(*The debug adapter supports the `configurationDone` request.
*)supports_function_breakpoints : bool option;(*The debug adapter supports function breakpoints.
*)supports_conditional_breakpoints : bool option;(*The debug adapter supports conditional breakpoints.
*)supports_hit_conditional_breakpoints : bool option;(*The debug adapter supports breakpoints that break execution after a specified number of hits.
*)supports_evaluate_for_hovers : bool option;(*The debug adapter supports a (side effect free) `evaluate` request for data hovers.
*)exception_breakpoint_filters : Exception_breakpoints_filter.t list option;(*Available exception filter options for the `setExceptionBreakpoints` request.
*)supports_step_back : bool option;(*The debug adapter supports stepping back via the `stepBack` and `reverseContinue` requests.
*)supports_set_variable : bool option;(*The debug adapter supports setting a variable to a value.
*)supports_restart_frame : bool option;(*The debug adapter supports restarting a frame.
*)supports_goto_targets_request : bool option;(*The debug adapter supports the `gotoTargets` request.
*)supports_step_in_targets_request : bool option;(*The debug adapter supports the `stepInTargets` request.
*)supports_completions_request : bool option;(*The debug adapter supports the `completions` request.
*)completion_trigger_characters : string list option;(*The set of characters that should automatically trigger a completion request in a REPL. If not specified, the client should assume the `.` character. The client may trigger additional completion requests on characters such as ones that make up common identifiers, or as otherwise requested by a user.
*)supports_modules_request : bool option;(*The debug adapter supports the `modules` request.
*)additional_module_columns : Column_descriptor.t list option;(*The set of additional module information exposed by the debug adapter.
*)supported_checksum_algorithms : Checksum_algorithm.t list option;(*Checksum algorithms supported by the debug adapter.
*)supports_restart_request : bool option;(*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 : bool option;(*The debug adapter supports `exceptionOptions` on the `setExceptionBreakpoints` request.
*)supports_value_formatting_options : bool option;(*The debug adapter supports a `format` attribute on the `stackTrace`, `variables`, and `evaluate` requests.
*)supports_exception_info_request : bool option;(*The debug adapter supports the `exceptionInfo` request.
*)support_terminate_debuggee : bool option;(*The debug adapter supports the `terminateDebuggee` attribute on the `disconnect` request.
*)support_suspend_debuggee : bool option;(*The debug adapter supports the `suspendDebuggee` attribute on the `disconnect` request.
*)supports_delayed_stack_trace_loading : bool option;(*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 : bool option;(*The debug adapter supports the `loadedSources` request.
*)supports_log_points : bool option;(*The debug adapter supports log points by interpreting the `logMessage` attribute of the `SourceBreakpoint`.
*)supports_terminate_threads_request : bool option;(*The debug adapter supports the `terminateThreads` request.
*)supports_set_expression : bool option;(*The debug adapter supports the `setExpression` request.
*)supports_terminate_request : bool option;(*The debug adapter supports the `terminate` request.
*)supports_data_breakpoints : bool option;(*The debug adapter supports data breakpoints.
*)supports_read_memory_request : bool option;(*The debug adapter supports the `readMemory` request.
*)supports_write_memory_request : bool option;(*The debug adapter supports the `writeMemory` request.
*)supports_disassemble_request : bool option;(*The debug adapter supports the `disassemble` request.
*)supports_cancel_request : bool option;(*The debug adapter supports the `cancel` request.
*)supports_breakpoint_locations_request : bool option;(*The debug adapter supports the `breakpointLocations` request.
*)supports_clipboard_context : bool option;(*The debug adapter supports the `clipboard` context value in the `evaluate` request.
*)supports_stepping_granularity : bool option;(*The debug adapter supports stepping granularities (argument `granularity`) for the stepping requests.
*)supports_instruction_breakpoints : bool option;(*The debug adapter supports adding breakpoints based on instruction references.
*)supports_exception_filter_options : bool option;(*The debug adapter supports `filterOptions` as an argument on the `setExceptionBreakpoints` request.
*)supports_single_thread_execution_requests : bool option;(*The debug adapter supports the `singleThread` property on the execution requests (`continue`, `next`, `stepIn`, `stepOut`, `reverseContinue`, `stepBack`).
*)supports_data_breakpoint_bytes : bool option;(*The debug adapter supports the `asAddress` and `bytes` fields in the `dataBreakpointInfo` request.
*)breakpoint_modes : Breakpoint_mode.t list option;(*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.
*)supports_ansistyling : bool option;(*The debug adapter supports ANSI escape sequences in styling of `OutputEvent.output` and `Variable.value` fields.
*)
}Information about the capabilities of a debug adapter.
val make :
?supports_configuration_done_request:bool option ->
?supports_function_breakpoints:bool option ->
?supports_conditional_breakpoints:bool option ->
?supports_hit_conditional_breakpoints:bool option ->
?supports_evaluate_for_hovers:bool option ->
?exception_breakpoint_filters:Exception_breakpoints_filter.t list option ->
?supports_step_back:bool option ->
?supports_set_variable:bool option ->
?supports_restart_frame:bool option ->
?supports_goto_targets_request:bool option ->
?supports_step_in_targets_request:bool option ->
?supports_completions_request:bool option ->
?completion_trigger_characters:string list option ->
?supports_modules_request:bool option ->
?additional_module_columns:Column_descriptor.t list option ->
?supported_checksum_algorithms:Checksum_algorithm.t list option ->
?supports_restart_request:bool option ->
?supports_exception_options:bool option ->
?supports_value_formatting_options:bool option ->
?supports_exception_info_request:bool option ->
?support_terminate_debuggee:bool option ->
?support_suspend_debuggee:bool option ->
?supports_delayed_stack_trace_loading:bool option ->
?supports_loaded_sources_request:bool option ->
?supports_log_points:bool option ->
?supports_terminate_threads_request:bool option ->
?supports_set_expression:bool option ->
?supports_terminate_request:bool option ->
?supports_data_breakpoints:bool option ->
?supports_read_memory_request:bool option ->
?supports_write_memory_request:bool option ->
?supports_disassemble_request:bool option ->
?supports_cancel_request:bool option ->
?supports_breakpoint_locations_request:bool option ->
?supports_clipboard_context:bool option ->
?supports_stepping_granularity:bool option ->
?supports_instruction_breakpoints:bool option ->
?supports_exception_filter_options:bool option ->
?supports_single_thread_execution_requests:bool option ->
?supports_data_breakpoint_bytes:bool option ->
?breakpoint_modes:Breakpoint_mode.t list option ->
?supports_ansistyling:bool option ->
unit ->
t