Can not launch debugger

General questions regarding the usage of CodeLite
pineli
CodeLite Curious
Posts: 2
Joined: Wed Jan 04, 2017 7:29 am
Genuine User: Yes
IDE Question: c++
Contact:

Can not launch debugger

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can not launch debugger

Post by eranif »

Have a look at this post and see if it helps you:
https://forums.codelite.org/viewtopic.p ... tor#p15558
Make sure you have read the HOW TO POST thread
sag
CodeLite Curious
Posts: 3
Joined: Thu Jan 05, 2017 3:28 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Can not launch debugger

Post 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??
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can not launch debugger

Post 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
Make sure you have read the HOW TO POST thread
pineli
CodeLite Curious
Posts: 2
Joined: Wed Jan 04, 2017 7:29 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Can not launch debugger

Post 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!
You do not have the required permissions to view the files attached to this post.
Post Reply