If DebugGameEditor still has the same warning and you’re sure it was compiled, then you’re running the wrong exe or you’re editing the wrong cpp file or something got out of sync. Make sure the cpp file is actually the one you think it is. Also make sure you don’t have a copy of the cpp file in the same project folder. VS could be using the source from the wrong sub folder.
Have you tried rebuilding your project?
This has nothing to do with UE. It’s all about the project settings in VS for DebugGame and DebugGameEditor. If you haven’t changed those settings in VS, then something is out of sync. Have you updated .net lately?
How are you running the editor? Are you running it from VS? If not, why not?