launched debug process exits with code -1 .
Everything was fine until I upgraded macOS to Sonoma 14.1 and installed xcode 15.01.
So I suspect that the lldb in the bin directory of codelldb might be incompatible with clang-1500.0.40.1, is that possible?
I create a demo project to reproduce this problem. there are only two files.
CMakeLists.txt
Using /usr/bin/lldb to debug my target is fine. but If using /Users/ym/.vscode/extensions/vadimcn.vscode-lldb-1.10.0/lldb/bin/lldb to debug my target goes wrong like below
~/me/cxx/demo/build/ [dev*] /Users/ym/.vscode/extensions/vadimcn.vscode-lldb-1.10.0/lldb/bin/lldb ./demo
(lldb) target create "./demo"
Current executable set to '/Users/ym/me/cxx/demo/build/demo' (x86_64).
(lldb) r
Process 25535 launched: '/Users/ym/me/cxx/demo/build/demo' (x86_64)
Process 25535 exited with status = -1 (0xffffffff) lost connection
(lldb)
OS: Sonoma 14.1 VSCode version: 1.83.1 C/C++ IntelliSense version: v1.18.0 CMake Tools version: v1.16.20 CodeLLDB version: v1.10.0 Compiler: Clang 15.0.0 x86_64-apple-darwin23.1.0 Debuggee: Executable Files
launched debug process exits with code -1 . Everything was fine until I upgraded macOS to Sonoma 14.1 and installed xcode 15.01. So I suspect that the lldb in the bin directory of codelldb might be incompatible with clang-1500.0.40.1, is that possible?
I create a demo project to reproduce this problem. there are only two files. CMakeLists.txt
main.cpp
and settings.json
launch.json
Using
/usr/bin/lldb
to debug my target is fine. but If using/Users/ym/.vscode/extensions/vadimcn.vscode-lldb-1.10.0/lldb/bin/lldb
to debug my target goes wrong like belowVerbose log