codeblocks调试出问题
Tofloor
poster avatar
lpn666
deepin
2017-03-29 20:48
Author
编写好的代码可以编译运行,但是如果调试就不行了,提示出错
错误是:warning: GDB: Failed to set controlling terminal: Operation not permitted
终端倒是打开了,但是终端上什么显示都没有。所以想问问大家有没有解决办法。
谢谢


Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-03-29 21:28
#1
codeblocks界面(虚拟终端 调试等)上将终端的命令设置成

deepin-terminal -x "/bin/sh" %c  试试
Reply View the author
avatar
lpn666
deepin
2017-03-29 21:53
#2
https://bbs.deepin.org/post/136806
codeblocks界面(虚拟终端 调试等)上将终端的命令设置成

deepin-terminal -x "/bin/sh" %c  试试 ...

不行,加上“bin/sh” %c 之后直接不能调试了。
Reply View the author
avatar
jingle
deepin
2017-03-29 21:55
#3
https://bbs.deepin.org/post/136806
不行,加上“bin/sh” %c 之后直接不能调试了。

https://ubuntuforums.org/showthread.php?t=1416313
Reply View the author
avatar
lpn666
deepin
2017-03-29 22:04
#4
https://bbs.deepin.org/post/136806
https://ubuntuforums.org/showthread.php?t=1416313

我看这篇帖子了,上面没有解决这个问题啊,光说gdb老版本能用了,没说怎么解决新版本的问题啊。
Reply View the author
avatar
jingle
deepin
2017-03-29 22:27
#5
https://bbs.deepin.org/post/136806
我看这篇帖子了,上面没有解决这个问题啊,光说gdb老版本能用了,没说怎么解决新版本的问题啊。 ...

http://askubuntu.com/questions/2 ... ation-not-permitted  还是 google的靠谱 度娘不行
Reply View the author
avatar
lpn666
deepin
2017-03-29 22:35
#6
https://bbs.deepin.org/post/136806
http://askubuntu.com/questions/271887/warning-gdb-failed-to-set-controlling-terminal-operation-not ...

兄弟,你咋翻出去的啊,我这好像打不开这网页,方便帮我复制粘贴一下么?
Reply View the author
avatar
jingle
deepin
2017-03-29 22:42
#7
https://bbs.deepin.org/post/136806
兄弟,你咋翻出去的啊,我这好像打不开这网页,方便帮我复制粘贴一下么? ...

代理翻墙的。
Reply View the author
avatar
lpn666
deepin
2017-03-29 23:55
#8

没看懂他说的啥意思,决定改用ecplise了,但是出现了更多的错误,现在感觉linux真tm难
Reply View the author