Setting up CodeLite with debugging

CodeLite installation/troubleshooting forum
GerryWolff
CodeLite Curious
Posts: 1
Joined: Wed Apr 01, 2020 2:28 pm
Genuine User: Yes
IDE Question: C++
Contact:

Setting up CodeLite with debugging

Post by GerryWolff » Wed Apr 01, 2020 2:45 pm

Your codelite version: 14.0.0
Is it a self compiled version of codeliteL No
Your OS: Windows 10
Compiler version: clang, g++ etc (I'm not sure which versions)

I'm trying to set up CodeLite so that I can run and debug a simple program. But I get messages saying that LLDB does not support debugging. I've tried various compilers but debugging is always the snag.

Please can someone supply basic settings so that I can run and debug my program.

Many thanks.

Gerry

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Setting up CodeLite with debugging

Post by eranif » Thu Apr 02, 2020 1:48 am

You can't use LLDB to debug G++ code on Windows. It does not work.
You will need to use GDB
In the project settings change the debugger to 'gdb'
Make sure you have read the HOW TO POST thread

Post Reply