a matching symbol file was not found in this folder

前端 未结 13 2536
逝去的感伤
逝去的感伤 2020-12-14 14:37

I want to use debug symbols, but I am receiving the following error:

a matching symbol file was not found in this folder

What

13条回答
  •  一个人的身影
    2020-12-14 15:06

    I ran into this problem and the answer was simple.

    Visual studio has two project level settings that can create .pdb files.

    1. Linker: Configuration Properties -> Linker -> Debugging -> Generate Program Database File = "xxxx.pdb"
    2. Compiler: Configuration Properties -> C/C++ -> Output Files -> Program Database File Name = "yyyy.pdb"

    You want #1 for debugging. Forget about #2. Give file #2 a different name than file #1 to solve this error.

    I don't know why microsoft specifies #2 as a .pdb file. That is just confusing.

提交回复
热议问题