OS: macOS 14.2 (23C64)
VSCode version: 1.93.1
CodeLLDB version:v1.11.2
Compiler: lldb
Debuggee: SwiftUI Program
I just read the doc, https://github.com/vadimcn/vscode-lldb/blob/master/MANUAL.md#alternate-lldb-backends
and changed lldb to the lldb under the xcode directory according to this tutorial
When I ran the program and started debugging, lldb exited.
Here is my setting.json
{
"editor.formatOnSave": true,
"[swift]": {
"editor.defaultFormatter": "vknabel.vscode-apple-swift-format"
},
"lldb.library": "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB"
}
Log goes here :
[ERROR codelldb] Unable to resolve liblldb symbols: "dlsym(0x8acdb170, _ZN4lldb19SBWatchpointOptions21SetWatchpointTypeReadEb): symbol not found"
Error: ""dlsym(0x8acdb170, _ZN4lldb19SBWatchpointOptions21SetWatchpointTypeReadEb): symbol not found""
Debug adapter exit code=1 (0x1), signal=null.
[ERROR codelldb] Unable to resolve liblldb symbols: "dlsym(0x89f4b170, _ZN4lldb19SBWatchpointOptions21SetWatchpointTypeReadEb): symbol not found"
Error: ""dlsym(0x89f4b170, _ZN4lldb19SBWatchpointOptions21SetWatchpointTypeReadEb): symbol not found""
Debug adapter exit code=1 (0x1), signal=null.