Problem: 当调试时,出现错误提示:"Debugging information cannot be found or does not match"

  • Solution: 通过使能调试,可以解决该问题,具体步骤为:
    • 打开Project Properties
    • 展开 "Configuration Properties"
    • 展开 "C/C++"
    • 选择 "General",将 "Debug Information Format" 改为 "Program Database For Edit And Continue (/ZI)"
    • 选择 "Optimization",将 "Optimization" 改为 "Disabled (/Od)"
    • 展开 "Linker"
    • 选择 "Debugging"
    • 将 "Generate Debug Info" 改为 "Yes"
    • 确定

你可能感兴趣的:(Problem: 当调试时,出现错误提示:"Debugging information cannot be found or does not match")