microsoft / microsoft/vscode-cpptools
Can't find path for "MIDebuggerPath" option in Manjaro Linux
@WardenGnaw is already working on this.
Since Dec 26, 2018.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.