UE 5.2 Visual Studio 2019 Community. All of a sudden breakpoints don't get hit

I have a project that I have been working on for a month or so. Started it in UE 5.1. VS2019.
I have been able to debug and step through the C++ code no problem.

Yesterday I updated to UE 5.2 and updated VS2019… I was able to develop and debug, hit breakpoints etc… It all worked fine for several hours.

But, all of a sudden, I’m not sure what happen, but when I try to debug the C++ code, it just wont work.

Visual Studio UE project open
UE is closed.

I click on Local Windows Debugger as I always have… This will launch UE and load the project. From within UE, I click play. The level starts, but for some reason, it does not seem to be stopping at any of my break points anymore.

The ONLY thing that I can think of that I changed was to add this to the build.cs file.
OptimizeCode = CodeOptimization.Never;

But even right now I have that commented out.

I have repeatedly deleted all project files and regenerated them. Nothing I can think of makes any difference.

Any help will be greatly appreciated.

If you also updated Quixel Bridge, it may be worth removing it and seeing if that resolves the issue. There’s some weird issues with it right now. This doesn’t sound like the problem, but having just updated to 5.2, perhaps? More info on that one here: Can't create blank, c++ 5.2 project

If not that, have you tried surrounding the code in a

PRAGMA_DISABLE_OPTIMIZATION
PRAGMA_ENABLE_OPTIMIZATION

block?