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.
Thanks.
Codelite 12.0, cannot debugging on Ubuntu 18.04
-
- CodeLite Curious
- Posts: 1
- Joined: Sat Oct 13, 2018 6:42 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Codelite 12.0, cannot debugging on Ubuntu 18.04
Hi,
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
That always happens. It's unimportant: see e.g. this threadthere are some strange things display:
&"warning: GDB: Failed to set controlling terminal:
Is this a debug build of your code? If not, it should be.the program did not stop at my break point, and the terminal is disappear but my code run normally.
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