How do you know it's time to break up?

How do you know when it's time to leave the relationship?

I'm asking for a friend, so 'when you have to ask this question' doesn't help me. She's in denial and I want to help her see reason.