Files

Debugger::RemoteInterface

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.

Attributes

command_queue[RW]
histfile[RW]
history_length[RW]
history_save[RW]
restart_file[RW]

Public Instance Methods

close() click to toggle source
# File cli/ruby-debug/interface.rb, line 176
def close
  @socket.close
rescue Exception
end
confirm(prompt) click to toggle source
# File cli/ruby-debug/interface.rb, line 181
def confirm(prompt)
  send_command "CONFIRM #{prompt}"
end
read_command(prompt) click to toggle source
# File cli/ruby-debug/interface.rb, line 185
def read_command(prompt)
  send_command "PROMPT #{prompt}"
end
readline_support?() click to toggle source
# File cli/ruby-debug/interface.rb, line 189
def readline_support?
  false
end

Public Class Methods

new(socket) click to toggle source
# 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

[Validate]

Generated with the Darkfish Rdoc Generator 2.