class Byebug::Command

def bb_eval(str, b = get_binding)

def bb_eval(str, b = get_binding)
  eval(str, b)
rescue StandardError, ScriptError => e
  at = eval('Thread.current.backtrace_locations', b)
  puts "#{at.shift}: #{e.class} Exception(#{e.message})"
  at.each { |path| puts "\tfrom #{path}" }
  nil
end