class Byebug::BreakCommand

def target_object(str)

def target_object(str)
  k = error_eval(str)
  k&.is_a?(Module) ? k.name : str
rescue StandardError
  errmsg("Warning: breakpoint source is not yet defined")
  str
end