Codelite 12.0, cannot debugging on Ubuntu 18.04

CodeLite installation/troubleshooting forum
allcoder
CodeLite Curious
Posts: 1
Joined: Sat Oct 13, 2018 6:42 pm
Genuine User: Yes
IDE Question: C++
Contact:

Codelite 12.0, cannot debugging on Ubuntu 18.04

Post by allcoder »

The problem is when I debug on the terminal, there are some strange things display:

&"warning: GDB: Failed to set controlling terminal: \344\270\215\345\205\201\350\256\270\347\232\204\346\223\215\344\275\234\n"

then the program did not stop at my break point, and the terminal is disappear

but my code run normally.

my code is just a hello world cpp. :shock:

Thanks.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Codelite 12.0, cannot debugging on Ubuntu 18.04

Post by DavidGH »

Hi,
there are some strange things display:
&"warning: GDB: Failed to set controlling terminal:
That always happens. It's unimportant: see e.g. this thread
the program did not stop at my break point, and the terminal is disappear but my code run normally.
Is this a debug build of your code? If not, it should be.

If so, what happens if you run the program that CodeLite built in gdb in a terminal? Does a breakpoint work there? Do you get any interesting error messages?

Regards,

David
Post Reply