microsoft / microsoft/vscode-cpptools

Can't find path for "MIDebuggerPath" option in Manjaro Linux

オープン
#2,971 コメント 18 件 リアクション 0 件 担当者 1 名 GitHub で見る

@WardenGnaw がすでに取り組んでいます。

2018年12月26日 から。

debugger
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
61

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。