I disagree. Xanax does not stop panic attacks. When a panic attack occurs, adrenaline already has rushed through the system. It will take 3 minutes to leave and for the body to return to a baseline state. If a person feeds the attack with worry, the panic lasts longer than 3 minutes. Xanax can help calm the mind while the body goes through the panic motions and no additional worry is added. Sometimes Xanax will not stop the worry. What I have written is documented to the point of common knowledge.
Stressed444, I may be wrong, but it seems as if your doctor is setting up a phobia. If you avoid certain places or activities for fear of an attack and it is significantly interfering with your life, then you might already have a phobia and I am ALL FOR carrying around Xanax or any other "safety" like a cell phone, water, teddy bear, whatever. Deal with the phobias later. If you do not have phobias now, do not create any. They totally suck.