vc -> project -> settings -> “setting for” 设置为“release” -> link -> 选中“generate debug info”-> 确定 -> 编译
vc -> project -> settings -> “setting for” 设置为“release”-> c/c++ -> “optimizations”设置为“disable(debug)”->“debug info”设置为“program database for edit and continue” -> 确定 -> 编译
vc -> project -> settings -> “setting for” 设置为“release”-> c/c++ -> “optimizations”设置为“disable(debug)”->“debug info”设置为“program database for edit and continue” -> 确定 -> 编译