Code::Blocks Forums
User forums => Help => Topic started by: polisbul on January 03, 2013, 10:41:54 am
-
I'm using ubuntu 10.04 and codeblocks 10.05, and can't compile correctly with [-g] option for debugging. debug mode seems not to work (debugger shows me only symbols and codes, not code lines). [-g] is the only option enabled. outside codeblocks ddd works fine, so i suppose it's a compiling error.
any hint?
-
Read these two:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks
-
checked all those pages, but nothing changes...
I still get this message:
warning: GDB: Failed to set controlling terminal: Operation not permitted
-
Have you tried to search about this warning?
-
checked all those pages, but nothing changes...
I still get this message:
warning: GDB: Failed to set controlling terminal: Operation not permitted
It's the first time you post about this message.
So it looks like you are not able or willing to give the needed information to evn try to help you.
And as you can see it's a warning message, not an error.
Search the web for it and youz will see it's a gdb, not a C::B issue, but it does not harm in any way.
Debugging usually works fine with C::B.