Strange sentence, in a way. It actually defines "lost it"
immediately after stating it, so it ends up saying the same thing twice.
almost LOST IT right then and there, = almost broke down myself and cried
(to break down = to lose the ability to hold back tears, the emotions (of grief, shame, etc.) having become too powerful)
CJ