microsoft / microsoft/vscode-cpptools
gdb issue
Open
@WardenGnaw is already working on this.
Since May 21, 2026.
bug
debugger
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Environment
- OS and version: Ubuntu 24.04
- VS Code: 1.120
- C/C++ extension: Microsoft c/c++
- GDB / LLDB version: 15.1
Bug Summary and Steps to Reproduce
Bug Summary:
Steps to reproduce:
Launch the debugger in the described environment, the debugger freezes and this error is shown:
&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
Debugger Configurations
launch.json:
"configurations": [
{
"name": "C++ Debug",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/${fileBasenameNoExtension}",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Disable startup with shell",
"text": "set startup-with-shell off",
"ignoreFailures": false
}
]
}
]
Debugger Logs
N/A
Other Extensions
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.