1、右键“解决方案资源管理器”对应的代码,打开Properties配置窗口;
2、在C++选项->general,选择

3、optimization选项配置,勾选disabled;

4、在preprocessor->preprocessor definitions加入ENABLE_DEBUG宏

5、在Linker->debugging里,general map file和map exports配置

时间:2024-11-01 15:54:08
1、右键“解决方案资源管理器”对应的代码,打开Properties配置窗口;
2、在C++选项->general,选择
3、optimization选项配置,勾选disabled;
4、在preprocessor->preprocessor definitions加入ENABLE_DEBUG宏
5、在Linker->debugging里,general map file和map exports配置