And I personally always question it into myself and ask if I have exceeded a certain limit, it is something that can make me realize when indeed I feel I am in the final stage of what I have conceptualized or scheduled in gambling, if in finance it is the budget that I have set in the wallet that has been set for gambling, and if it runs out then finish and don't want more to play gambling again.
Gambling addiction starts from there so we must plan our budget if we don't want to get sucked into it. When it comes to time management, I think we should set priorities. If there is work to be done, do it first, don't let gambling be the wall for us to be productive. I've seen myself go wrong when it comes to time management and I was checked by my supervisor because of it. Unproductive month because I was chasing my losses and I was hooked on playing casino games.
OP is right though, we must learn to step away and think things through. That's where we could see that we maybe crossing the line.