sleep problems

Diana
I have no idea in how to make my 6month sleep through the night, my pediatrician told me to let her cry (sorry I can't stand her crying when I can help her) so that is not working. I know probably many of you are going to judge me for this (to be honest don't care) me and my husband have decided to co-sleep and we love it. But lately baby will only "wake up" to latch not really eating just wants to feel my breast in her mouth. Don't know what to do to make her sleep through the night. 
Please if you are going to say something rude keep it to yourself, not interested in negativity, I'm looking for suggestions on how to make her sleep. Thank you