vscode-qbs icon indicating copy to clipboard operation
vscode-qbs copied to clipboard

Debugger settings not picked up from launch.json

Open me21 opened this issue 3 years ago • 1 comments

I have the following .vscode/launch.json file:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(gdb) Запустить",
            "type": "cppdbg",
            "request": "launch",
            "program": "helloworld2",
            "args": [],
            "stopAtEntry": false,
            "cwd": "~",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "targetArchitecture": "arm",
            "pipeTransport": {
                "pipeCwd": "/usr/bin",
                "pipeProgram": "/usr/bin/ssh",
                "pipeArgs": [
                    "[email protected]"
                ],
                "debuggerPath": "/usr/bin/gdb"
            },
            "setupCommands": [
                {
                    "description": "Включить автоматическое форматирование для gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ]
        }     
    ]
}

It works correctly when I press F5. However, when I click Debug button in the bottom blue bar of VSCode window, I get the following output in the terminal:

&"warning: GDB: Failed to set controlling terminal: \320\236\320\277\320\265\321\200\320\260\321\206\320\270\321\217 \320\275\320\265 \320\277\320\276\320\267\320\262\320\276\320\273\320\265\320\275\320\260\n"
[1] + Done                       "/usr/bin/gdb" --interpreter=mi --tty=${DbgTerm} 0<"/tmp/Microsoft-MIEngine-In-bqgmcweq.jmx" 1>"/tmp/Microsoft-MIEngine-Out-wthb4aog.leh"

me21 avatar Sep 14 '21 09:09 me21

Sorry, for delay. So, could you please test it now? And what exactly settings are not picked up?

denis-shienkov avatar May 21 '23 09:05 denis-shienkov