feeling desperate because you are in a difficult situation and you do not know how to deal with it. The usual American expression is at the end of your rope.
She was at the end of her tether. She needed someone she could talk to, someone she could trust.