"Barking up" this originated with hunting; a dog would sometimes make a mistake locating its prey
If 
it's something realistic you're shooting for, that is one thing but if you're ... not 
going to make much sense to have your character go I'm going hunting!