A few things that I've found helpful are:
1. Expand horizontally. I've been designing for a while, and it's always a breath of fresh air when I can go design something (in the browser of course, but front-end dev requires so little thought that I barely notice) without restraint. I also enjoy writing, when I can find the time.
2. Experiment with radically different paradigms. I've been diving into Elixir lately, which has been a lot of fun. Still looking for a nail to hit with the Erlang/Elixir hammer, but I've enjoyed building the few toy programs I've worked on to get familiar with the language.
3. Accept the Sex & Cash theory. Hugh MacLeod writes about it in this blog post: http://gapingvoid.com/2004/03/25/the-sex-cash-theory/ Basically, the idea is that you have to internalize that there are things you do for fun, outside of work (sex) and things you do support those things (cash). The cash doesn't have to be enjoyable. By all means, seek opportunities to have fun with the cash side of the equation, but don't get hung up on it: spend your brain cycles enjoying the sex.
Also think about finding some hobbies. I know that's a tough one, but that's how it gets sometimes. You need to focus energy elsewhere.
I'm near this point right now. I won't get a promotion unless higher ups quit. I'm in a bit of a rut at home. Gotta shake it up.
BTW thanks, I really hope this is not a depression. And good luck.
Taking time off often lets me appreciate my work for the benefits it provides (association with friendly coworkers, the challenge of meeting goals, the recognition of effort taken) after I've had a chance to spend that time off on myself or family.
Anything in excess can be toxic, even if convince yourself you can handle or prefer it (addiction?).
I worked for about 6 years in the industry, but I got thoroughly bored in every single job. Either the work was too boring, or I finished it too quickly, or a combination. I never lasted more than a year or two in any job.
For the last 14 years I've been running my own business, which is a lot better (more interesting work, less stress, etc.) However I will admit that I got quite lucky in building a niche product that people wanted to pay money for.
If I had to get a 'proper' job again, I think I would be in the same position as you - there just aren't that many interesting and fulfilling software jobs out there. I would probably consider doing something completely different, like driving taxis, being a commercial pilot, or manual labour.
If you're in a full-time job, consider doing contracting. Depending on what country you live in, it can be very lucrative and easy to find short-term work. The UK has lots of opportunities, Canada and the US less so. Unfortunately most of the work is pretty boring, but at least you only have to do it for a while before moving on.
Also consider taking a lower salary but working in a more fulfilling environment. Maybe working for a non-profit or something along those lines.
Or going to the other end of the scale, consider working for google. You get an incredible salary and work on fascinating projects.
All: when you notice substantive, civil comments that are unfairly faded out, please give them a corrective upvote. This is a longstanding community practice. It usually only takes one or two corrective votes to get a good comment back to par, so every user can make a significant difference.
Please don't add comments complaining about inappropriate downvotes. That just adds noise.
There is a tremendous waste of many talented developers, intellectually.