Module: DEBUGGER__::IrbPatch

Defined in:
lib/debug/irb_integration.rb

Instance Method Summary collapse

Instance Method Details

#evaluate(line, line_no) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/debug/irb_integration.rb', line 7

def evaluate(line, line_no)
  SESSION.send(:restart_all_threads)
  super
  # This is to communicate with the test framework so it can feed the next input
  puts "INTERNAL_INFO: {}" if ENV['RUBY_DEBUG_TEST_UI'] == 'terminal'
ensure
  SESSION.send(:stop_all_threads)
end