PATH:
opt
/
alt
/
ruby34
/
share
/
gems
/
gems
/
debug-1.11.0
/
lib
/
debug
# frozen_string_literal: true require 'irb' module DEBUGGER__ module IrbPatch def evaluate(line, line_no) SESSION.send(:restart_all_threads) super # This is to communicate with the test framework so it can feed the next input puts "INTERNAL_INFO: {}" if ENV['RUBY_DEBUG_TEST_UI'] == 'terminal' ensure SESSION.send(:stop_all_threads) end end class ThreadClient def activate_irb_integration IRB.setup(location, argv: []) workspace = IRB::WorkSpace.new(current_frame&.binding || TOPLEVEL_BINDING) irb = IRB::Irb.new(workspace) IRB.conf[:MAIN_CONTEXT] = irb.context IRB::Debug.setup(irb) IRB::Context.prepend(IrbPatch) end end class Session def deactivate_irb_integration Reline.completion_proc = nil Reline.output_modifier_proc = nil Reline.autocompletion = false Reline.dig_perfect_match_proc = nil reset_ui UI_LocalConsole.new end end end
[-] config.rb
[edit]
[-] server.rb
[edit]
[-] client.rb
[edit]
[-] server_dap.rb
[edit]
[-] server_cdp.rb
[edit]
[+]
dap_custom
[-] frame_info.rb
[edit]
[-] local.rb
[edit]
[-] version.rb
[edit]
[-] console.rb
[edit]
[-] color.rb
[edit]
[-] open_nonstop.rb
[edit]
[-] thread_client.rb
[edit]
[-] session.rb
[edit]
[+]
..
[-] abbrev_command.rb
[edit]
[-] start.rb
[edit]
[-] open.rb
[edit]
[-] breakpoint.rb
[edit]
[-] irb_integration.rb
[edit]
[-] source_repository.rb
[edit]
[-] prelude.rb
[edit]
[-] tracer.rb
[edit]