1、” Build --> configurations --> Add “ 增加一个工程
2、” Build --> Set Active configurations “ 选择新建设工程为活动工程
3、“ Project --> Settings --> Link --> General --> Generate debug info”
4、“ Project --> Settings --> Link --> General --> Link incrementally”
5、“ Project --> Settings --> C/C++ --> General --> Debug info: 项--> Program Database for Edit and Continue”
5、“ Project --> Settings --> C/C++ --> General --> Preprocessor definitions: 项--> NDEBUG 改为 _DEBUG”
5、“ Project --> Settings --> C/C++ --> Code Generation --> Use run-time library: 项--> Debug Single-Threaded”
5、“ Project --> Settings --> C/C++ --> Optimizations --> Optimizations: 项--> Disable (Debug) "