在“工具”-》编译选项-》"Add following commands when calling complier"下面的编辑框里加上: -g3
然后在下面的"Add these commands to the linker command line" 下的编辑框上加上: -g3
转到programs页,把gcc行修改为:gcc.exe -D__DEBUG__,
把g++行修改为: g++.exe -D__DEBUG__ ,
点击ok。
重新编译,就能调试了
在“工具”-》编译选项-》"Add following commands when calling complier"下面的编辑框里加上: -g3
然后在下面的"Add these commands to the linker command line" 下的编辑框上加上: -g3
转到programs页,把gcc行修改为:gcc.exe -D__DEBUG__,
把g++行修改为: g++.exe -D__DEBUG__ ,
点击ok。
重新编译,就能调试了