vendor/osx/gems/ruby-debug-0.9.3/cli/ruby-debug.rb
# in remote mode, wait for the remote connection 
in remote mode, wait for the remote connection
in remote mode wait for the remote connection
def start_control(host = nil, ctrl_port = PORT + 1) 
      raise "Debugger is not started" unless started?
      return if @control_thread
      @control_thread = DebugThread.new do
        server = TCPServer.new(host, ctrl_port)
        while (session = server.accept)
          interface = RemoteInterface.new(session)
          processor = ControlCommandProcessor.new(interface)
          processor.process_commands
        end
      end
    end
def start_control ( host = nil , ctrl_port = PORT + 1 ) raise "Debugger is not started" unless started? return if @control_thread @control_thread = DebugThread . new do server = TCPServer . new ( host , ctrl_port ) while ( session = server . accept ) interface = RemoteInterface . new ( session ) processor = ControlCommandProcessor . new ( interface ) processor . process_commands end end end
in remote mode, wait for the remote connection
in remote mode wait for the remote connection
# :nodoc:
host
<not_specific>
ctrl_port
<not_specific>