I went to my GP having hit rock bottom with depression, yet again. He decided that my weight was the cause of my depression, rather than being a symptom of it, and lectured me about my diet, whilst I grew more and more distressed.
In the end, I was on my feet, in floods of tears, about to leave the surgery (and God alone knows what would have happened, if I had left - I was pretty desperate, and in no fit state to drive, by that point), and he finally agreed to stop talking about my weight.
He then carried on referring to it as 'the thing we are not allowed to mention' - in a really sarcastic, passive-aggressive way.
I ended up having to find and organise my own therapy - and I made my first and only complaint about the NHS. I got an apology from the surgery, a grudging apology from the doctor, and I will never, ever set foot in his surgery again, even if I am at death's door.
This is the doctor, by the way, who told me that eating more vegetables, to fill up, when dieting, was a bad idea, because vegetables have calories too. The man is well known locally as a total numpty.
It doesn't matter if the OP's symptoms could have been due to her weight or could have been ameliorated by her losing weight. If the doctor's default position is "Lose weight - next patient, please!", they are, sooner or later, going to miss the symptoms of something serious that is not weight-related.
And in the meantime they are going to make all their overweight patients feel that there is no point in attending the surgery with any symptoms or illnesses whatsoever, because they will just get told to go away and lose weight - and again, sooner or later, someone will fail to attend the surgery with symptoms that are serious, and need immediate attention, because they know they will just be fobbed off again - and something will go untreated, with potentially life-threatening consequences.
Yes, obesity is serious - and yes, it causes a lot of health problems - but this sort of approach (a milder form of which I have met with from a number of GPs) is not going to make people lose weight, and is going to put them off seeing their GP when they really need to.