Let me get this straight.
Your friend, who is is not eating, is unhappy with her relationship and life in general, starts to cry and you just sit there and wait for her to stop? I think that no matter how "huggy" you are, she deserved some kind of acknowledgement, some kind of comforting gesture or act. Hold her hand, hug over over the shoulders, talk to her, tell will it will all be alright. Don't just sit there and pretend nothing is happening. Honestly, I'm not sure I would even consider you a friend after that point.
I think we seriously need to consider that machines will take over the world. With this heartless robot over here, it's obvious they're already out there.