Unable to start debugging. The value of miDebuggerPath is invalid problem
See original GitHub issueHello, i’m new at coding and normaly i code websites and things like this, i get try to code one program is my long therm project in C++ so i try my best,
now i just testing how to do data base with all things inside and to open everything but in debugging i have problem:
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/main.cpp",
"cwd": "${workspaceFolder}",
"args": [],
"stopAtEntry": false,
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "\\Sebastian\\Program\\gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true,
}
]
}
]
}
any idea.??
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Unable to start debugging : The value of miDebuggerPath is ...
The value of miDebuggerPath is invalid. I have my gdb installed on wsl . It's path is /usr/bin/gdb. I have copied same path...
Read more >miDebuggerPath invalid #2925 - microsoft/vscode-cpptools
The value of miDebuggerPath is invalid","body":{"error":{"id":1005,"format":"Unable to start debugging. The value of miDebuggerPath is ...
Read more >Unable to start debugging. The Value of miDebuggerPath is ...
Hi I want setup a debugger with a st-link. It looks like that the miDebuggerPath from debugger_launch.json file is ignored.
Read more >Unable to start debugging. The value of ... - Reddit
Unable to start debugging. The value of miDebuggerPath is invalid. I tried to change my miDebuggerPath to: /usr/bin/gdb, and followed all ...
Read more >MiDebuggerPath - Visual Studio Feedback
“miDebuggerPath”: “/usr/bin/gdb”,. and I receive the error: 'Unable to start debugging. The value of miDebuggerPath is invalid.' I have checked and the path...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The “MI” is a protocol that allows our debugger to communicate to various different debuggers in a uniform way. LLDB recently stopped distributing their
lldb-mi
binary and the Visual Studio debugger team is weighing options on what to do about that. We very recently unblocked macOS users on this problem, but now Linux users are catching up to the problem by using newer LLVM distributions. There is some discussion about the problem here: https://github.com/microsoft/vscode-cpptools/issues/5415On ubuntu bionic I had to do
sudo apt install -y lldb
thenI don’t know why, and I didn’t find any information about
miDebuggerPath
. What is it?I tried
but it complains about some ignored options (–mi I guess)