Visual Studio loads the correct PDB file, but can't find source information for anything in the solution.
Things I've tried:
- Clean, reboot, regenerate project (CMake), rebuild
- Check the Modules window to ensure the PDB is loaded (it is)
- Mess with "Debug Source Files" setting under solution properties
- Check the PDB file with symchk (it says the PDB matches the EXE, and that it has full symbol information, i.e. it's not stripped)
- Download system lib symbols from Microsoft because why not
Is there some setting that generates a PDB without source information? Or could it be baking bad paths into the PDB? I tried grepping through the PDB and although it appears to have all the symbols, I couldn't find any source file paths.
More info: this is a 64-bit C++ project. Everything is statically linked including the runtime.