class DebuggerXml::ByebugProxy

Public Instance Methods

breakpoints() click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 44
def breakpoints
  ::Byebug.breakpoints
end
build_command_processor_state(interface) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 21
def build_command_processor_state(interface)
  ::Byebug::CommandProcessor::State.new(commands, handler.context, [], handler.file, interface, handler.line)
end
canonic_file(file) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 37
def canonic_file(file)
  ::Byebug::CommandProcessor.canonic_file(file)
end
commands() click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 25
def commands
  ::Byebug::Command.commands
end
control_commands(interface) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 15
def control_commands(interface)
  control_command_classes = commands.select(&:allow_in_control)
  state = ::Byebug::ControlCommandProcessor::State.new(interface, control_command_classes)
  control_command_classes.map { |cmd| cmd.new(state) }
end
current_context() click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 56
def current_context
  ::Byebug.current_context
end
debug_load() click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 88
def debug_load
  ::Byebug.debug_load(::Byebug::PROG_SCRIPT, false)
end
debug_thread?(context) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 48
def debug_thread?(context)
  context && context.thread.is_a?(debug_thread_class)
end
debug_thread_class() click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 52
def debug_thread_class
  ::Byebug::DebugThread
end
event_commands(state) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 29
def event_commands(state)
  event_command_classes.map { |cls| cls.new(state) }
end
handler() click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 7
def handler
  ::Byebug.handler
end
handler=(value) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 11
def handler=(value)
  ::Byebug.handler = value
end
inspect_command_class() click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 92
def inspect_command_class
  ::Byebug::InspectCommand
end
interrupt_last() click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 72
def interrupt_last
  ::Byebug.interrupt_last
end
line_at(file, line) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 41
def line_at(file, line)
end
print(*args) click to toggle source
printer=(value) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 84
def printer=(value)
  ::Byebug.printer = value
end
set_argv(argv) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 68
def set_argv(argv)
  ::Byebug.const_set("ARGV", argv)
end
set_prog_script(file) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 64
def set_prog_script(file)
  ::Byebug.const_set("PROG_SCRIPT", file)
end
set_rdebug_script(file) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 60
def set_rdebug_script(file)
  ::Byebug.const_set("RDEBUG_SCRIPT", file)
end
start() click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 3
def start
  ::Byebug.start
end
tracing=(value) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 76
def tracing=(value)
  ::Byebug.tracing = value
end
wait_connection=(value) click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 80
def wait_connection=(value)
  ::Byebug.wait_connection = value
end

Private Instance Methods

event_command_classes() click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 98
def event_command_classes
  commands
end
printer() click to toggle source
# File lib/debugger_xml/byebug_proxy.rb, line 102
def printer
  ::Byebug.printer
end