Page 1 of 1

Could not launch terminal with debugger

Posted: Thu Jun 02, 2016 2:35 pm
by slavkovsky7
Hello,
I moved to the newest version 9.1.7 and now when I try to debug my C++ application I get the error "could not launch terminal for debugger"

I have tried to use both : internal terminal and external terminal but it didn't help.

Can somebody help me?

I use ubuntu 14.04

Re: Could not launch terminal with debugger

Posted: Thu Jun 02, 2016 5:21 pm
by DavidGH
Hi,

Which CodeLite version were you previously using?

The new version can cope with other terminals too, but to be safe I suggest you check that xterm is installed, and install it if it's not.

If that doesn't help, it may be the codelite_xterm that you're using is still the one from the previous version. It'll be in the installation directory; probably /usr/bin/codelite/codelite_xterm unless you installed to somewhere unusual. When you've found it, see what line 8 looks like; it should be:
terminal="x-terminal-emulator"

Regards,

David

Re: Could not launch terminal with debugger

Posted: Mon Jun 06, 2016 12:08 pm
by slavkovsky7
Ok thank
I have figured it out.

The problem was that the Terminator was set in my system as default terminal.

When I have modified the mentioned codelite_xterm file or I have changed the update-alternative for x-terminal-emulator the problem was solved.