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.