Module: Byebug::DAP

Defined in:
lib/byebug/gem.rb,
lib/byebug/dap/server.rb,
lib/byebug/dap/command.rb,
lib/byebug/dap/session.rb,
lib/byebug/dap/commands/next.rb,
lib/byebug/dap/helpers/stdio.rb,
lib/byebug/dap/commands/pause.rb,
lib/byebug/dap/helpers/scalar.rb,
lib/byebug/dap/commands/attach.rb,
lib/byebug/dap/commands/launch.rb,
lib/byebug/dap/commands/scopes.rb,
lib/byebug/dap/commands/source.rb,
lib/byebug/dap/helpers/channel.rb,
lib/byebug/dap/helpers/handles.rb,
lib/byebug/dap/commands/step_in.rb,
lib/byebug/dap/commands/threads.rb,
lib/byebug/dap/command_processor.rb,
lib/byebug/dap/commands/continue.rb,
lib/byebug/dap/commands/evaluate.rb,
lib/byebug/dap/commands/step_out.rb,
lib/byebug/dap/commands/variables.rb,
lib/byebug/dap/contextual_command.rb,
lib/byebug/dap/commands/disconnect.rb,
lib/byebug/dap/commands/initialize.rb,
lib/byebug/dap/helpers/captured_io.rb,
lib/byebug/dap/commands/stack_trace.rb,
lib/byebug/dap/helpers/safe_helpers.rb,
lib/byebug/dap/helpers/value_helpers.rb,
lib/byebug/dap/commands/exception_info.rb,
lib/byebug/dap/helpers/captured_output.rb,
lib/byebug/dap/commands/set_breakpoints.rb,
lib/byebug/dap/commands/configuration_done.rb,
lib/byebug/dap/commands/breakpoint_locations.rb,
lib/byebug/dap/helpers/child_spawned_event_body.rb,
lib/byebug/dap/commands/set_function_breakpoints.rb,
lib/byebug/dap/commands/set_exception_breakpoints.rb,
lib/byebug/dap/helpers/invalid_request_argument_error.rb,
lib/byebug/dap.rb,
lib/byebug/dap.rb

Overview

Debug Adapter Protocol support for Byebug

Defined Under Namespace

Modules: Debug, SafeHelpers, Scalar, ValueHelpers Classes: CapturedIO, CapturedOutput, Channel, ChildSpawnedEventBody, Command, CommandProcessor, ContextualCommand, Handles, InvalidRequestArgumentError, STDIO, Server, Session

Constant Summary collapse

NAME =

Gem name

'byebug-dap'
VERSION =

Gem version

'0.1.4'
SUMMARY =

Gem summary

'Debug Adapter Protocol for Byebug'
DESCRIPTION =

Gem description

'Implements a Debug Adapter Protocol interface for Byebug'
AUTHORS =

Gem authors

['Ethan Reesor']
WEBSITE =

Gem website

'https://gitlab.com/firelizzard/byebug-dap'
LICENSE =

Gem license

'Apache-2.0'
Protocol =

An alias for ‘ruby-dap`’s Byebug::DAP module.

::DAP

Class Method Summary collapse

Class Method Details

.child_spawned(*args) ⇒ Object

Record a childSpawned event and send the event to the current session’s client, if gem:byebug:Byebuggem:byebug:Byebug::Contextgem:byebug:Byebug::Context.interface is a Session.



57
58
59
# File 'lib/byebug/dap.rb', line 57

def child_spawned(*args)
  Session.child_spawned(*args)
end

.stop!Boolean

Call Byebug::DAP::Session#stop! on gem:byebug:Byebuggem:byebug:Byebug::Contextgem:byebug:Byebug::Context.interface if it is a Session.

Returns:

  • (Boolean)

    whether gem:byebug:Byebuggem:byebug:Byebug::Contextgem:byebug:Byebug::Context.interface was a Session



52
53
54
# File 'lib/byebug/dap.rb', line 52

def stop!
  Session.stop!
end