module DEBUGGER__::IrbPatch

def evaluate(line, line_no)

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