I'm guessing this went on for years, going by some old diary entries I've tracked down. I can't remember when I stopped. But one day, I just did. Or rather, I no longer drifted to the darkest depths of my self criticism, but instead skated on the surface.
Anyway, my recent revelation was all about how my analysis of the self differs between then and now. Back then it was so very much coming from a space of doubt, of blame, of dislike. And while I do have those moments of "woe is me" I'm most definitely coming more from a position of acceptance and love. I know I mess up - but now I more often than not throw in "but don't we all". And I'm glad I do.