Sleep Apnea?

Prior to pregnancy, i never snored. When i entered in my second trimester, i have been snoring. Im now in my third trimester but ive been waking myself up form the snoring and sometimes i wake up to my self inhaling. Does that mean i stopped breathing? Has this happened to anyone before?