Page 1 of 1

Can not launch debugger

Posted: Wed Jan 04, 2017 8:14 am
by pineli
OS: centos 7
codelite version: 9.0

build is ok, but, when I hit 'F5' for debug, it comes "could not launch terminal for debugger", the xterm is already installed

Re: Can not launch debugger

Posted: Wed Jan 04, 2017 10:55 am
by eranif
Have a look at this post and see if it helps you:
https://forums.codelite.org/viewtopic.p ... tor#p15558

Re: Can not launch debugger

Posted: Thu Jan 05, 2017 3:40 am
by sag
Hello Codelite forum,

Well I've been reading everywhere and can't find the answer.
I use MAC, and whenever I try to run the program
I get a message from the terminal.

Last login: Thu Jan 5 00:34:03 on ttys001
/Users/Documents/1/3/Debug && ./3
hello world....

I've already checked the path o gdb, in the build settings, and when I scan, it seems to find the compilers, I also downloaded Xcode, but I cant start a debugger either... Codelite worked yesterday perfectly so I don't understand.... Can anyone help please??

Re: Can not launch debugger

Posted: Thu Jan 05, 2017 3:56 am
by eranif
Dont use GDB on OSX.
Use lldb (from the project settings)

In the future, your problem is not related. Please dont hijack other threads

Re: Can not launch debugger

Posted: Thu Jan 05, 2017 10:47 am
by pineli
Thanks for reply
I already done : sudo update-alternatives --config x-terminal-emulator , but nothing is output
Don't know why, maybe CentOS 7 have some different thing ?
xterm is installed with version 295
gcc version 4.8.5
gdb version 7.6.1
codelite version 9.0

CodeLite error info:
Failed to locate the configured default terminal application required by CodeLite, please install it or check your configuration!