microsoft / microsoft/vscode-cmake-tools
Debugging fails on macOS
Open
@paulmaybee is already working on this.
Since Dec 10, 2024.
bug
Feature: debug/launch
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
Brief Issue Summary
Debugging fails with:
Starting: "/Library/Developer/CommandLineTools/usr/bin/lldb" --interpreter=mi
error: unknown option: --interpreter=mi
Use 'lldb --help' for a complete list of options.
"/Library/Developer/CommandLineTools/usr/bin/lldb" exited with code 1 (0x1).
Likely due to the extension trying to use lldb instead of VS Code's lldb-mi.
CMake Tools Diagnostics
{
"os": "darwin",
"vscodeVersion": "1.91.1",
"cmtVersion": "1.18.43",
"configurations": [
{
"folder": "/Users/segevfiner/junk/antlr4/cpp",
"cmakeVersion": "3.30.0",
"configured": true,
"generator": "Ninja",
"usesPresets": false,
"compilers": {
"C": "/Library/Developer/CommandLineTools/usr/bin/cc",
"CXX": "/Library/Developer/CommandLineTools/usr/bin/c++"
}
}
],
"cpptoolsIntegration": {
"isReady": true,
"hasCodeModel": true,
"activeBuildType": "Debug",
"buildTypesSeen": [
"Debug"
],
"requests": [
"file:///Users/segevfiner/junk/antlr4/cpp/main.cpp",
"file:///Users/segevfiner/junk/antlr4/antlr4-cpp-runtime/run/include/antlr4-runtime/antlr4-runtime.h",
"file:///Users/segevfiner/junk/antlr4/antlr4-cpp-runtime/run/include/antlr4-runtime/ANTLRInputStream.h"
],
"responses": [
{
"uri": "file:///Users/segevfiner/junk/antlr4/cpp/main.cpp",
"configuration": {
"includePath": [
"/users/segevfiner/junk/antlr4/antlr4-cpp-runtime/run/include/antlr4-runtime",
"/users/segevfiner/junk/antlr4/cpp/build/antlr4_generated_src/antlr-vb6-lexer",
"/users/segevfiner/junk/antlr4/cpp/build/antlr4_generated_src/antlr-vb6-parser"
],
"defines": [],
"compilerPath": "/library/developer/commandlinetools/usr/bin/c++",
"compilerArgs": [],
"compilerFragments": [
"-g -std=gnu++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk"
]
}
}
],
"partialMatches": [],
"targetCount": 1,
"executablesCount": 1,
"librariesCount": 0,
"targets": [
{
"name": "antlr4-poc",
"type": "EXECUTABLE"
}
]
},
"settings": [
{
"communicationMode": "automatic",
"useCMakePresets": "auto",
"configureOnOpen": null
}
]
}
Debug Log
No response
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.