Welcome 微信登录
编程资源 图片资源库 蚂蚁家优选 PDF转换器

首页 / 操作系统 / Linux / 关于Ubuntu 12.04下code::blocks不能使用debug解决方法

问题描述:系统:Ubuntu 12.04code::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调试更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2