lib/ruby-debug/processor.rb in ruby-debug-ide-0.4.17.beta3 vs lib/ruby-debug/processor.rb in ruby-debug-ide-0.4.17.beta4
- old
+ new
@@ -5,11 +5,11 @@
require_relative 'interface'
require_relative 'command'
end
module Debugger
- class CommandProcessor
+ class IdeCommandProcessor
def initialize(interface = nil)
@interface = interface
@printer = XmlPrinter.new(@interface)
end
@@ -80,10 +80,10 @@
end
end
end
end
- class ControlCommandProcessor < CommandProcessor# :nodoc:
+ class IdeControlCommandProcessor < IdeCommandProcessor# :nodoc:
def process_commands
@printer.print_debug("Starting control thread")
ctrl_cmd_classes = Command.commands.select{|cmd| cmd.control}
state = ControlState.new(@interface)
ctrl_cmds = ctrl_cmd_classes.map{|cmd| cmd.new(state, @printer)}