I don't want to downplay your experience or give an overly positive vibe, but I have been in a similar situation and managed to survive it. I was always a straight A student in school. Then, the second half of my Junior year, things went really bad at home, due to lots of reasons. That was the one and only time that I actually tried to kill myself. Even though I had tried to kill myself, I didn't really want to die - I just wanted the emotional pain to end so badly.
Anyway, I ended up dropping all of my classes that semester, which resulted in F's for the first time in my life -- that, in itself was a really hard thing to deal with. But overall, I still loved school and I was determined to not have the financially crappy life that my mother had. So I ended up taking correspondence courses over the summer (they didn't have onilne stuff back then), and then I carried a full load my senior year in order to graduate with my class.
It truly sucked in so many ways. The rumor mill held the story that I dropped my junior year because I was pregnant -- which wasn't true, but the story stuck -- and that meant everyone looked at me in "that way" whenever they passed me in the halls. I had moved to a new school during my junior year -- part of the crap that went bad -- and so I had pretty much no friends at school anyway. It was hard and lonely my senior year, and graduating with such a low GPA after always having A's was truly heartbreaking for me.
The only thing that kept me fighting was the hope that things would get better some day. While I still battle depression and still go in and out of suicide mode, in many ways things really did get better --- at least better than what they were at that time.