Incorrect debug symbols, and breakpoints

In addition to deleting the “Intermediate” and “Saved” directories, you’ll want to delete the “Binaries” directory as well. That folder will contain your build results, such as the executables, dlls, and debugging symbols.

Finally, have you verified that your build can successfully compile? If Visual Studio is set to run the last successful build (regardless if the latest build succeeds), you can run into issues where your program execution does not match your source code. This makes breakpoints and stepping rather confusing. To further verify this, I’d add some code elsewhere and see if the debugger behaves as expected by stepping through the newly added statements.

If all else fails, I’d probably try deleting everything except for the following…

  • Config
  • Content
  • Source
  • Project.uproject

Everything else can be reconstructed from the above four things. My team only keeps the above four on source control, in addition to the editor dlls in the “Binaries” folder to avoid obligating artists to install VS2015.