开发者

warning: GDB: Failed to set controlling terminal: Operation not permitted

开发者 https://www.devze.com 2022-12-21 05:24 出处:网络
I get this error (title of this question), when I am attempting to debug C/C++ programs us开发者_运维技巧ing gdb with Netbeans IDE.

I get this error (title of this question), when I am attempting to debug C/C++ programs us开发者_运维技巧ing gdb with Netbeans IDE.

Does anyone know what this means, and how to get rid of the warning?

I am able to debug despite the warning, but I'd still like to make the warning go away.

Relevant details:

  1. OS: Ubuntu 9.10
  2. gdb: 7.0-ubuntu
  3. Netbeans: 6.8.1


Project > Properties > Run > Console Type > Output Windows


Check that your code has in fact been built with debug. From experience (in Linux) if you don't have any symbols GDB can give this error.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号