日期:2014-05-16  浏览次数:20767 次

code::block 调试错误,怎么解决啊
ubuntu 12.04
debug-》start
出现warning: GDB: Failed to set controlling terminal: Operation not permitted
断点设置无效
-g选项开了
度娘和谷歌没找到什么好的解决方案
说什么安装gdb6。8自慰式的解决方案感觉很扯啊
跪求大牛怎么解决啊




------解决方案--------------------
看解决办法

To change the application type to GUI I used Project->Properties...->Build Targets tab. I then selected "GUI application" in the Type: dropdown box.

I noticed I also had to go to Settings->Compiler and debugger... Then I selected the "Debugger settings" on the left panel and checked the "Display debugger's log" check box.
http://forums.codeblocks.org/index.php?topic=11447.0