Page 1 of 1

Cannot get DAP debugger to run

Posted: Fri Dec 09, 2022 4:32 am
by Pecan

I download and installed CodeLite 16.5.0.
It runs and debugs (via gdb) a simple wxWidgets3.2.1 HelloWorld project ok.

I then followed the instruction at https://docs.codelite.org/plugins/dap/# ... -workspace
to try to debug via DAP debugger.

Contrary to the instruction, however, It does not give me a "Settings → Debug Adapter Client"
choice on either the main menu or the project menu.

I also tried to enter the lldb-vscode.exe location into project->debugger settings. No joy.
I tried setting -gdwarf-4 flag. No joy.

I do not get a debugger choice (other than GNU gdb) project->General->debugger setting.

When I select the debugger button, a debugging window flashes at the bottom of the screen
then immediately disappears.

How do I perform the magic to get the DAP debugger to work?

CodeLite version: 16.5.0
version of CodeLite ? Downloaded binary installer 16.5.0.
OS: windows 10
Compiler version:g++.exe (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
wxWidgets 3.2.1


Re: Cannot get DAP debugger to run

Posted: Sun Dec 11, 2022 11:09 am
by eranif

You did not mention your OS, so I will assume Windows (were most problems exists)

Let me know if this helps