lib/ruby-debug/processor.rb in ruby-debug-ide-0.1.9 vs lib/ruby-debug/processor.rb in ruby-debug-ide-0.1.10
- old
+ new
@@ -37,16 +37,16 @@
ensure
@interface.close
end
def process_context_commands(input)
- unless Debugger.processor.at_line?
+ unless Debugger.event_processor.at_line?
@printer.print_error "There is no thread suspended at the time and therefore no context to execute '#{input.gsub('%', '%%')}'"
return
end
- context = Debugger.processor.context
- file = Debugger.processor.file
- line = Debugger.processor.line
+ context = Debugger.event_processor.context
+ file = Debugger.event_processor.file
+ line = Debugger.event_processor.line
event_cmds = Command.commands.select{|cmd| cmd.event }
state = State.new do |s|
s.context = context
s.file = file
s.line = line