class Byebug::BreakCommand

def execute

def execute
  return puts(self.class.help) unless @match[1]
  brkpt = line_breakpoint(@match[1]) || method_breakpoint(@match[1])
  if syntax_valid?(@match[2])
    return puts(
      pr('break.created', id: brkpt.id, file: brkpt.source, line: brkpt.pos)
    )
  end
  errmsg(pr('break.errors.expression', expr: @match[2]))
  brkpt.enabled = false
rescue => e
  errmsg(e.message)
end