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
Other Extensions
No response
Additional Information
No response
Environment
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
Debugger Logs
Other Extensions
No response
Additional Information
No response