Sounds like a carb/fuel problem. I would get a rebuild kit for the carb and put new fuel lines and a new fuel filter in it. This has become standard operation procedure for me on any saw I revive because I got frustrated fighting goofy issues like that.
Me too. Good advice.