microsoft / microsoft/vscode-cpptools

gdb issue

Aperta
#14,466 11 commenti 2 reazioni 1 assegnatario Vedi su GitHub

@WardenGnaw ci sta già lavorando.

Dal 21/5/2026.

bug debugger
Lingua principale
TypeScript
Stelle
6.2k
Fork
1.7k
Merge medio
14h 46m
PR unite (30g)
61

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.