I do okay when I'm just tired from lack of sleep, but if you add feeling angry or frustrated on top of it, then I seem to lose all will power and dive into comfort foods. For me, that's sugary sodas, rice crispy bars, donuts, hi-fat iced-coffee blends, fast food, and whatever else appeals to me at that moment.
I suppose it happens because I want those quick sugar rushes for some energy, and the comfort of fatty foods when I'm feeling extra stressed and tired. I recognize this, but it still doesn't help me avoid a binge when it happens!