VS/VC++ debugging information cannot be found 不能调试

来源:互联网 发布:上海游族网络招聘电话 编辑:程序博客网 时间:2024/05/17 15:40

1. Some possible solutions:

  • You are compiling in release instead of debug
  • You need to clean/build or rebuild
  • You don't have your pdb files being generated in the same directory as the exe
  • You have a mismatching pdb, maybe the copied source is newer than today's date and something isn't building properly.
  • Try cleaning out all debug object files
  • You are attaching to a process that you started from a different location from where your build exe and pdb exist

  • Restart Visual Studio
2. 
  • Right click on your project -> Properties
  • Configuration properties -> Linker -> Debugging
  • Switch "Generate Debug Info" from No to Yes

0 0
原创粉丝点击