Thanks for using Health Care Magic Forum,
It is quite possible that gasping episodes in the middle of sleeping is caused by an asthma
flare. Usually, it is accompanied by wheezing
, shortness of breath
and a sense of tightness in the chest. During an asthma attack, the lining of the airway becomes swollen and thick mucus is produced, which in turn can be the culprit of air shortage. These episodes can be tamed by an inhaler, having regular exercise or medication from the doctor.
I Hope I Provided Useful Information. Do ask Furthur Questions to help You get well soon.
Dr.J.Kingson John David