Visual Studio 2010 “Cannot find or open the PDB file”

后端 未结 5 1110
生来不讨喜
生来不讨喜 2020-12-01 18:34

I try to debug a program in Visual Studio 10, but I have a problem with breakpoints. I put *.pdb files corresponding to the *.dll files to the same directory. But while chec

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-01 18:46

    I had a similar problem in VS2013 ... something to do with a PDB file and IISEXPRESS. I tried several things and eventually resolved it by doing this:

    Tools > Options > Debugging > Symbols and then pressing the "Empty Symbol Cache" button

    Upon rerunning my app, it took awhile for Visual Studio to reload all of the symbols but it did eventually do so and the problem was fixed!

提交回复
热议问题