question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to start debugging. The value of miDebuggerPath is invalid problem

See original GitHub issue

Hello, 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:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bobbrowcommented, Jul 6, 2020

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/5415

0reactions
lattice0commented, Jul 4, 2020

On ubuntu bionic I had to do sudo apt install -y lldb then

            "miDebuggerPath": "/usr/bin/lldb-vscode-10"

I don’t know why, and I didn’t find any information about miDebuggerPath. What is it?

I tried

            "miDebuggerPath": "/usr/bin/lldb-10"

but it complains about some ignored options (–mi I guess)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found