可能的原因如下:

1. 菜单tools->Options->Debugging->General,有个Require  source files to exactly match the original version的选项取消;

 

2. 菜单tools->Options->Debugging->Symbols,然后在Symbol file(.pdb)locations中添加你要调试dll或者程序的pdb文件;

 

3. C/C++-->General-->Debug Information Format选择为 Program Database (Zi); 

    C/C++-->Optimization 选择为Maximize Speed(/O2)

相关文章:

  • 2021-11-30
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2021-04-27
  • 2021-10-21
  • 2022-12-23
  • 2021-06-22
相关资源
相似解决方案