microsoft / microsoft/vscode-cpptools
Can't find path for "MIDebuggerPath" option in Manjaro Linux
@WardenGnaw ya está trabajando en esto.
Desde el 26/12/2018.
- Lenguaje dominante
- TypeScript
- Estrellas
- 6.2k
- Forks
- 1.7k
- Merge medio
- 14 h 46 min
- PR fusionados (30 d)
- 61
Descripción
Type: Debugger GDB
- OS and Version: Manjaro Linux 18 XFCE
- VS Code Version: 1.30.1
- C/C++ Extension Version: C/C++ for Visual Studio Code 0.20.1
- Other extensions you installed (and if the issue persists after disabling them): C/C++ Clang Command Adapter, C++ Intellisense; the issue persists.
ISSUE
I can't start debugging, I've tried different things, but it keeps telling me "Unable to start debugging. Launch options string provided by the project is invalid. Unable to determine path to debugger. Please specify the "MIDebuggerPath" option.
I've tried setting MIDebuggerPath to /usr/bin/ or usr/share and some other paths, but no luck.
My launch.json looks like this:
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/04_printf/printf",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
]
}
Please, help me, I've already wasted 2 hours trying everything I could.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.