Modified by MakeFile Generator:
Output File: $(ProjectName).exe
Executable to Run/Debug: $(WorkspacePath)/build-$(WorkspaceConfiguration)/bin/$(OutputFile)
Working Directory: $(WorkspacePath)/build-$(WorkspaceConfiguration)/lib
If I compile ‘hello world’ example with:
MakeFile Generator: CodeLite Makefile Generator
Compiler: gcc-17.0.3(clang llvm)
No debugger works.
GNU DGB: nothing happens
Debug Adapter Client: The debug interface that stays for less than half a second
(using DAP: Adding ‘std::system(“pause”);’ the debug interface does not close, Continue does nothing, Stop works, Next does nothing, Pause works and Next works in Assembly. Breakpoints Appear in the list but are not respected)
So with msys2 clang/g++ , GNU DBG and DAP works, but not with LLVM Clang.
LLVM Clang does not come with make(or is named something else?) and I use ‘mingw32-make.exe -j16’ from msys2 clang, is this a problem?
Do I need to pass something else to the compiler to make debugger working?
What happened?
A bug happened!
Version
Other
Operating system
Windows 10
Steps to reproduce
Codelite settings: MakeFile Generator: CodeLite Makefile Generator Compiler gcc-17.0.2(clang msys64)
Modified by MakeFile Generator: Output File: $(ProjectName).exe Executable to Run/Debug: $(WorkspacePath)/build-$(WorkspaceConfiguration)/bin/$(OutputFile) Working Directory: $(WorkspacePath)/build-$(WorkspaceConfiguration)/lib
Debug Adapter Client: Command: E:\CodeLite\LLDB_cpptools-win64\extension\debugAdapters\bin\OpenDebugAD7.exe --server (edit) E:\CodeLite\compilar\msys64-clang\clang64\bin\lldb-vscode.exe -p 4711 Connection string: tcp://127.0.0.1:4711
If I compile ‘hello world’ example with: MakeFile Generator: CodeLite Makefile Generator Compiler: gcc-17.0.2(clang msys64)
Both GNU DBG and Debug Adapter Client work normaly.
Build Output:
If I compile ‘hello world’ example with: MakeFile Generator: CodeLite Makefile Generator Compiler: gcc-17.0.3(clang llvm)
No debugger works. GNU DGB: nothing happens Debug Adapter Client: The debug interface that stays for less than half a second (using DAP: Adding ‘std::system(“pause”);’ the debug interface does not close, Continue does nothing, Stop works, Next does nothing, Pause works and Next works in Assembly. Breakpoints Appear in the list but are not respected)
Build Output:
So with msys2 clang/g++ , GNU DBG and DAP works, but not with LLVM Clang. LLVM Clang does not come with make(or is named something else?) and I use ‘mingw32-make.exe -j16’ from msys2 clang, is this a problem? Do I need to pass something else to the compiler to make debugger working?