Try journaling....... writing down what you are feeling and what caused you
to feel that way will help you
deal with it easier. It can also help ease your impulse to eat.
If you can't do the journaling, try reading a book, going for a walk (takes your mind off the troubles AND you get exercise), take up a hobby, etc -- almost anything to take your mind off eating.