def METHOD_NAME(self, found):
    try:
        thread = self.find_by_tid(int(found))
    except ValueError:
        thread = self.find_by_name(found)
    if not thread:
        return
    print(thread.dump())
    self.dump_backtrace(thread)