catch at straws.
do, say or believe anything, however unlikely or inadequate which seems to offer hope in a desperate situation.
This expression comes from the proverb a drowning man will dutch at a straw which is recorded in various forms since the mid 16th century.