问题描述:
系统:ubuntu 12.04
code::blocks版本:10.05
问题现象:debug->start
之后出现:warning:
GDB: Failed to set controlling terminal: Operation not permitted
断点设置无效
-g选项开了
解决方法:
1. Project->Properties...->Build Targets标签
,选择 "GUI application"选项 。
2.Settings->Compiler and debugger。左边的面板上选择"Debugger settings" ,选择 "Display
debugger‘s log"。
3.此时,再次运行debug->start,虽然不会弹出控制台调试窗口,但是在code::blocks编辑区下方的Debugger区,即可进行debug调试
关于Ubuntu12.04下code::blocks不能使用debug解决方法,布布扣,bubuko.com
关于Ubuntu12.04下code::blocks不能使用debug解决方法
原文:http://www.cnblogs.com/xiaoxiaoxin-love-ping/p/3660502.html