-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
bugdebuggerhelp wantedCan be fixed in the public (open source) repo.Can be fixed in the public (open source) repo.
Description
Environment
- OS and version: macOS 15.5 (Build 24F74)
- VS Code: 1.90.0
- C/C++ extension: 1.19.9
- OS and version of remote machine (if applicable): Not applicable
- GDB / LLDB version: lldb-1900.0.39.0
Bug Summary and Steps to Reproduce
Bug Summary:
LLDB crashes with exit code 139 when launching a basic C++ program from VS Code using the C++ extension with MIMode set to "lldb".
Steps to reproduce:
- Install VS Code with the C++ extension on macOS 15.5.
- Create a simple C++ program (e.g.,
main.cppprinting "Hello, LLDB!"). - Compile it using
clang++ main.cpp -o main. - Use the following
launch.jsonconfiguration with"MIMode": "lldb". - Run the debugger.
- LLDB crashes with exit code 139.
Debugger Configurations
{
"version": "0.2.0",
"configurations": [
{
"name": "LLDB Test",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/main",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb",
"miDebuggerPath": "/usr/bin/lldb",
"setupCommands": [
{
"description": "Enable pretty-printing for LLDB",
"text": "settings set target.inline-breakpoint-strategy always",
"ignoreFailures": true
}
]
}
]
}Debugger Logs
"logging": {
"engineLogging": true,
"trace": true,
"traceResponse": true
}Other Extensions
Only C/C++ and CodeLLDB extensions are enabled. The issue persists even with all other extensions disabled.
Additional Information
This issue appears to be the same as #13496. I followed all the steps to reproduce and used the latest version of the extension. The program runs correctly via terminal (./main), but crashes only via the debugger.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugdebuggerhelp wantedCan be fixed in the public (open source) repo.Can be fixed in the public (open source) repo.