A RemoteInterface is the kind of I/O interactive performed when the user interface is in a different process (and possibly different computer) than the debugged program. Compare with Debugger::LocalInterface.
# File cli/ruby-debug/interface.rb, line 176 def close @socket.close rescue Exception end
# File cli/ruby-debug/interface.rb, line 181 def confirm(prompt) send_command "CONFIRM #{prompt}" end
# File cli/ruby-debug/interface.rb, line 193 def print(*args) @socket.printf(*args) end
# File cli/ruby-debug/interface.rb, line 160 def initialize(socket) @command_queue = [] @socket = socket @history_save = false @history_length = 256 @histfile = '' # Do we read the histfile? # open(@histfile, 'r') do |file| # file.each do |line| # line.chomp! # Readline::HISTORY << line # end # end if File.exist?(@histfile) @restart_file = nil end
Generated with the Darkfish Rdoc Generator 2.