vscode-qbs
vscode-qbs copied to clipboard
Debugger settings not picked up from launch.json
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"
Sorry, for delay. So, could you please test it now? And what exactly settings are not picked up?