Page 1 of 1

GBD warning terminal not appearing

Posted: Sun Sep 23, 2018 8:05 pm
by Al99
I am compiling some code a string class and a main file and there is no errrors but some fpermissive warnings in the code, the terminal never opens when i hit build and run but when i hit start debugger and build and debug then the window comes up and it says "&warning GDB failed to set controlloing terminal Operation not permitted" then it shows the text of the program then disappears. How can I make the window appear on build and run and stay on start debugger thanks.

Re: GBD warning terminal not appearing

Posted: Mon Oct 29, 2018 8:23 pm
by xthunderheartx
This is normal behavior. Put a breakpoint right before main exits or a delay. The program is completing and exiting which closes the terminal window. The lame-o GDB warning can be safely ignored.

-Dallas