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.