VS编译时出现“Debugging information for "project.exe" cannot be found or does not match. Binary was not built with debug information.”的解决方法

1.进入Project Properties

2.双击进入Configuration Properties

3.进入C/C++,选择General

4.将“Debug information format”的属性改为“Program Database for edit and continue(/zi)”

5.选择C\C++下的“optimization”,将“optimization”的属性值改为“Disabled(/Od)”

6.选择Linker下的Debugging,将“Generat debug info”的属性值改为“Yes”

7.单击确定,rebuild你的工程

posted @ 2017-02-23 16:18  心乐飞扬  阅读(1240)  评论(0编辑  收藏  举报