您的位置:首页 > 编程语言 > C语言/C++

Dev cpp不能调试问题的解决方法

2008-02-26 14:13 274 查看
1. 在tools->compiler option->compiler得"Add following commands when calling complier"下面的编辑框里加上:-g3. 然后在下面的"Add these commands to the linker command line" 下的编辑框上加上:-g3.

2. 在tools->compiler option->settings->linker下设置生成调试调试信息.



3. 转到programs页,把gcc行修改为:gcc.exe -D__DEBUG__,把g++行修改为g++.exe -D__DEBUG__ ,点击ok。
4. 重新编译,就能调试了

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  border gcc