lib/ruby-debug/processor.rb in ruby-debug-ide-0.1.3 vs lib/ruby-debug/processor.rb in ruby-debug-ide-0.1.4
- old
+ new
@@ -25,11 +25,10 @@
catch(:debug_error) do
if cmd = commands.find{|c| c.match(input) }
cmd.execute
else
process_context_commands(input)
- #@printer.print_msg "Unknown command"
end
end
end
rescue IOError, Errno::EPIPE
rescue Exception
@@ -51,11 +50,10 @@
state = State.new do |s|
s.context = context
s.file = file
s.line = line
s.binding = context.frame_binding(0)
- s.display = display
s.interface = @interface
s.commands = event_cmds
end
commands = event_cmds.map{|cmd| cmd.new(state, @printer) }
catch(:debug_error) do
@@ -96,10 +94,10 @@
end
end
end
class State # :nodoc:
attr_accessor :context, :file, :line, :binding
- attr_accessor :frame_pos, :previous_line, :display
+ attr_accessor :frame_pos, :previous_line
attr_accessor :interface, :commands
def initialize
@frame_pos = 0
@previous_line = nil