Open
Description
Environment
- OS and version: 13.2.1 (22D68)
- VS Code: 1.75.1
- C/C++ extension: v1.14.3
- OS and version of remote machine (if applicable): n/a
- GDB / LLDB version: lldb-1400.0.38.17
Version: 1.75.1
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
Date: 2023-02-08T21:34:01.965Z (1 wk ago)
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Darwin arm64 22.3.0
Sandboxed: No
Bug Summary and Steps to Reproduce
Bug Summary:
Unable to find GDB in default search path and /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lldb.
Steps to reproduce:
- open https://github.com/ohhmm/generator
- install required cmake, C++ plugins
- build picture-target-generator
- See the error
Debugger Configurations
skryv@HXJG94R2N5 MacOS % ls /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lldb
ls: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lldb: No such file or directory
skryv@HXJG94R2N5 MacOS % find /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ | grep lldb
skryv@HXJG94R2N5 MacOS % find /Applications/Xcode.app/Contents/Developer/Toolchains/ | grep lldb
skryv@HXJG94R2N5 MacOS % find /Applications/Xcode.app/Contents/Developer/ | grep lldb
/Applications/Xcode.app/Contents/Developer//usr/bin/lldb
/Applications/Xcode.app/Contents/Developer//usr/share/man/man1/lldb.1
skryv@HXJG94R2N5 MacOS % lldb -v
lldb-1400.0.38.17
Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
skryv@HXJG94R2N5 MacOS % which lldb
/usr/bin/lldb
skryv@HXJG94R2N5 MacOS %
Debugger Logs
not required, the root cause is known
Other Extensions
No response
Additional Information
LLDB is in the PATH which is reasonable to use in this situation:
% which lldb
/usr/bin/lldb