package dap

  1. Overview
  2. Docs
Debug adapter protocol

Install

dune-project
 Dependency

Authors

Maintainers

Sources

dap-1.1.0.tbz
sha256=0b4cdef2ec61b98f73b686a6cb9cde8dde14404097f52a9367c55f1667441712
sha512=ba1897e3afa66b34ad65911dee0b433c48756a5c81467b6277cc2fc1f4360533af7c707744b87707afa9891886dcdb0f7fa7e1653807903f5bd2c1d36a4d92d0

doc/dap.types/Debug_protocol/Capabilities/index.html

Module Debug_protocol.CapabilitiesSource

Sourcetype t = {
  1. supports_configuration_done_request : bool option;
    (*

    The debug adapter supports the `configurationDone` request.

    *)
  2. supports_function_breakpoints : bool option;
    (*

    The debug adapter supports function breakpoints.

    *)
  3. supports_conditional_breakpoints : bool option;
    (*

    The debug adapter supports conditional breakpoints.

    *)
  4. supports_hit_conditional_breakpoints : bool option;
    (*

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

    *)
  5. supports_evaluate_for_hovers : bool option;
    (*

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

    *)
  6. exception_breakpoint_filters : Exception_breakpoints_filter.t list option;
    (*

    Available exception filter options for the `setExceptionBreakpoints` request.

    *)
  7. supports_step_back : bool option;
    (*

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

    *)
  8. supports_set_variable : bool option;
    (*

    The debug adapter supports setting a variable to a value.

    *)
  9. supports_restart_frame : bool option;
    (*

    The debug adapter supports restarting a frame.

    *)
  10. supports_goto_targets_request : bool option;
    (*

    The debug adapter supports the `gotoTargets` request.

    *)
  11. supports_step_in_targets_request : bool option;
    (*

    The debug adapter supports the `stepInTargets` request.

    *)
  12. supports_completions_request : bool option;
    (*

    The debug adapter supports the `completions` request.

    *)
  13. 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.

    *)
  14. supports_modules_request : bool option;
    (*

    The debug adapter supports the `modules` request.

    *)
  15. additional_module_columns : Column_descriptor.t list option;
    (*

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

    *)
  16. supported_checksum_algorithms : Checksum_algorithm.t list option;
    (*

    Checksum algorithms supported by the debug adapter.

    *)
  17. 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.

    *)
  18. supports_exception_options : bool option;
    (*

    The debug adapter supports `exceptionOptions` on the `setExceptionBreakpoints` request.

    *)
  19. supports_value_formatting_options : bool option;
    (*

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

    *)
  20. supports_exception_info_request : bool option;
    (*

    The debug adapter supports the `exceptionInfo` request.

    *)
  21. support_terminate_debuggee : bool option;
    (*

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

    *)
  22. support_suspend_debuggee : bool option;
    (*

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

    *)
  23. 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.

    *)
  24. supports_loaded_sources_request : bool option;
    (*

    The debug adapter supports the `loadedSources` request.

    *)
  25. supports_log_points : bool option;
    (*

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

    *)
  26. supports_terminate_threads_request : bool option;
    (*

    The debug adapter supports the `terminateThreads` request.

    *)
  27. supports_set_expression : bool option;
    (*

    The debug adapter supports the `setExpression` request.

    *)
  28. supports_terminate_request : bool option;
    (*

    The debug adapter supports the `terminate` request.

    *)
  29. supports_data_breakpoints : bool option;
    (*

    The debug adapter supports data breakpoints.

    *)
  30. supports_read_memory_request : bool option;
    (*

    The debug adapter supports the `readMemory` request.

    *)
  31. supports_write_memory_request : bool option;
    (*

    The debug adapter supports the `writeMemory` request.

    *)
  32. supports_disassemble_request : bool option;
    (*

    The debug adapter supports the `disassemble` request.

    *)
  33. supports_cancel_request : bool option;
    (*

    The debug adapter supports the `cancel` request.

    *)
  34. supports_breakpoint_locations_request : bool option;
    (*

    The debug adapter supports the `breakpointLocations` request.

    *)
  35. supports_clipboard_context : bool option;
    (*

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

    *)
  36. supports_stepping_granularity : bool option;
    (*

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

    *)
  37. supports_instruction_breakpoints : bool option;
    (*

    The debug adapter supports adding breakpoints based on instruction references.

    *)
  38. supports_exception_filter_options : bool option;
    (*

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

    *)
  39. supports_single_thread_execution_requests : bool option;
    (*

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

    *)
  40. supports_data_breakpoint_bytes : bool option;
    (*

    The debug adapter supports the `asAddress` and `bytes` fields in the `dataBreakpointInfo` request.

    *)
  41. 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.

    *)
  42. 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.

Sourceval 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
Sourceval to_yojson : t -> Yojson.Safe.t