Slang: for when someone has ended up in a tricky situation.
Your rent is due and you just bet 5000 Dollars on dog races?!?! YOUR POTATO IS FULLY COOKED!