Module: DAP
- Defined in:
- lib/dap.rb
Overview
The Debug Adapter Protocol
Defined Under Namespace
Modules: Encoding, Relation Classes: AttachRequestArguments, Base, Breakpoint, BreakpointEventBody, BreakpointLocation, BreakpointLocationsArguments, BreakpointLocationsResponseBody, CancelArguments, Capabilities, CapabilitiesEventBody, Checksum, ChecksumAlgorithm, ColumnDescriptor, CompletionItem, CompletionItemType, CompletionsArguments, CompletionsResponseBody, ContinueArguments, ContinueResponseBody, ContinuedEventBody, DataBreakpoint, DataBreakpointAccessType, DataBreakpointInfoArguments, DataBreakpointInfoResponseBody, DisassembleArguments, DisassembleResponseBody, DisassembledInstruction, DisconnectArguments, Enum, ErrorResponseBody, EvaluateArguments, EvaluateResponseBody, Event, ExceptionBreakMode, ExceptionBreakpointsFilter, ExceptionDetails, ExceptionInfoArguments, ExceptionInfoResponseBody, ExceptionOptions, ExceptionPathSegment, ExitedEventBody, FunctionBreakpoint, GotoArguments, GotoTarget, GotoTargetsArguments, GotoTargetsResponseBody, InitializeRequestArguments, InstructionBreakpoint, InvalidatedEventBody, LaunchRequestArguments, LoadedSourceEventBody, LoadedSourcesResponseBody, Message, Module, ModuleEventBody, ModulesArguments, ModulesResponseBody, NextArguments, OutputEventBody, PauseArguments, ProcessEventBody, ProgressEndEventBody, ProgressStartEventBody, ProgressUpdateEventBody, ProtocolMessage, ReadMemoryArguments, ReadMemoryResponseBody, Request, Response, RestartFrameArguments, ReverseContinueArguments, RunInTerminalRequestArguments, RunInTerminalResponseBody, Scope, ScopesArguments, ScopesResponseBody, SetBreakpointsArguments, SetBreakpointsResponseBody, SetDataBreakpointsArguments, SetDataBreakpointsResponseBody, SetExceptionBreakpointsArguments, SetExpressionArguments, SetExpressionResponseBody, SetFunctionBreakpointsArguments, SetFunctionBreakpointsResponseBody, SetInstructionBreakpointsArguments, SetInstructionBreakpointsResponseBody, SetVariableArguments, SetVariableResponseBody, Source, SourceArguments, SourceBreakpoint, SourceResponseBody, StackFrame, StackFrameFormat, StackTraceArguments, StackTraceResponseBody, StepBackArguments, StepInArguments, StepInTarget, StepInTargetsArguments, StepInTargetsResponseBody, StepOutArguments, SteppingGranularity, StoppedEventBody, TerminateArguments, TerminateThreadsArguments, TerminatedEventBody, Thread, ThreadEventBody, ThreadsResponseBody, ValueFormat, Variable, VariablePresentationHint, VariablesArguments, VariablesResponseBody
Class Method Summary collapse
-
.decode(s) ⇒ ProtocolMessage
Decode a DAP message from the stream.
-
.decode_all(s) { ... } ⇒ Object
Decode all DAP messages from the stream.
-
.encode(message) ⇒ String
Encode a DAP message to a string.
Class Method Details
.decode(s) ⇒ ProtocolMessage
Decode a DAP message from the stream.
6 7 8 |
# File 'lib/dap.rb', line 6 def self.decode(s) DAP::Encoding.decode(s) end |
.decode_all(s) { ... } ⇒ Object
Decode all DAP messages from the stream.
16 17 18 |
# File 'lib/dap.rb', line 16 def self.decode_all(s, &block) DAP::Encoding.decode_all(s, &block) end |