Could not launch terminal for debugger

CodeLite installation/troubleshooting forum
fotis
CodeLite Curious
Posts: 9
Joined: Wed Dec 28, 2011 10:31 pm
Genuine User: Yes
IDE Question: c++
Contact:

Could not launch terminal for debugger

Post by fotis »

Not sure whether to mention it here or file it as a bug.

After updating to Codelite 6.0 I cannot debug previous/new projects anymore. When starting the debugger (F5), a pop up window shows up noting that "Could not launch terminal for debugger". Executing the program (Ctrl + F5) works fine.

Running Codelite 6.0 under Linux Mint 16.

Thank you in advance.

edit: Might be related: in the trace window I am getting:

Code: Select all

Error: can't open file '/home/fotis/analytical/test/.codelite/compilation.db.txt' (error 2: No such file or directory)
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Could not launch terminal for debugger

Post by eranif »

fotis wrote:Not sure whether to mention it here or file it as a bug.
After updating to Codelite 6.0 I cannot debug previous/new projects anymore. When starting the debugger (F5), a pop up window shows up noting that "Could not launch terminal for debugger". Executing the program (Ctrl + F5) works fine.

Code: Select all

sudo apt-get install xterm
Eran
Make sure you have read the HOW TO POST thread
fotis
CodeLite Curious
Posts: 9
Joined: Wed Dec 28, 2011 10:31 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Could not launch terminal for debugger

Post by fotis »

Thank you very much Eran.

In the terminal now I get

Code: Select all

&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"  
but it seems to work.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Could not launch terminal for debugger

Post by eranif »

fotis wrote:Thank you very much Eran.

In the terminal now I get

Code: Select all

&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"  
but it seems to work.
This is not an issue, you can ignore that

Eran
Make sure you have read the HOW TO POST thread
fotis
CodeLite Curious
Posts: 9
Joined: Wed Dec 28, 2011 10:31 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Could not launch terminal for debugger

Post by fotis »

Yes I noticed that.
Thank you again for your help.
Post Reply