Since using Code::blocks last, I upgraded to Ubuntu 15.10 from 14.04LTS, both running Gnome3 flashback and currently 3.17.2. I installed Code::Blocks 16.01 but the problem persists.
Starting Code::blocks from the command line (which used to be the only way to get CLI output) and then starting to debug, I get:
Option "-t" is no longer supported in this version of gnome-terminal.
Switching layout to "GDB/CDB debugger:Default"
warning: GDB: Failed to set controlling terminal: Operation not permitted
All of this seems (so far as I remember it) pretty standard other than the -t option problem.
It opens up a new terminal, ignores any breakpoints, sends the output to the original terminal and then terminates leaving the new terminal open. If I run it again, the output goes to the second terminal and yet another terminal opens. This repeats with the output going to the previously opened terminal and all debugging instructions (including step into or breakpoints) being ignored.
Any ideas or settings I need to change?
Thanks,
Mike.