Gambling in bad moments like when you have trouble or a problem is self destruction. You will gamble all you are going to have on you because you will not have hope in anything anymore. Think of breaking up with your wife or girlfriend - would you care about that money anymore? No, so nothing will stop you from gambling it and the situation can go from 1 to 100 in seconds. Better find something fun to do that doesn't harm you in ANY way..
If you are so depressed over the breakup, then you may not end up gambling. Because gambling wont make you numb. Usually people will turn to drugs or alcohols as these will have effects that numbs the sense of the human brains. Gambling requires a lot of thinking and it does not get rid of your sadness too. At least this is how i feel.