lib/ruby-debug.rb in ruby-debug-ide-0.3.0 vs lib/ruby-debug.rb in ruby-debug-ide-0.3.1

- old
+ new

@@ -74,11 +74,11 @@ end context end end - def main(host, port) + def main(host, port, load_mode) return if started? start start_control(host, port) @@ -91,11 +91,11 @@ # wait for 'start' command @mutex.synchronize do @proceed.wait(@mutex) end - debug_load Debugger::PROG_SCRIPT + debug_load(Debugger::PROG_SCRIPT, false, load_mode) end def run_prog_script @mutex.synchronize do @proceed.signal @@ -108,10 +108,10 @@ @control_thread = DebugThread.new do unless RUBY_PLATFORM =~ /darwin/i # Mac OS X seems to have problem with 'localhost' host ||= 'localhost' # nil does not seem to work for IPv6, localhost does end Debugger.print_debug("Waiting for connection on '#{host}:#{port}'") - $stderr.puts "Fast Debugger (ruby-debug-ide 0.3.0) listens on #{host}:#{port}" + $stderr.puts "Fast Debugger (ruby-debug-ide 0.3.1) listens on #{host}:#{port}" server = TCPServer.new(host, port) while (session = server.accept) begin interface = RemoteInterface.new(session) @event_processor = EventProcessor.new(interface)