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

Đang mở
#2,971 18 bình luận 0 reaction 1 người được giao Xem trên GitHub

@WardenGnaw đang làm issue này rồi.

Từ ngày 26/12/2018.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

debugger

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.

Ngôn ngữ chính
TypeScript
Star
6.2k
Fork
1.7k
Merge trung bình
14 giờ 46 phút
Pull request đã merge (30 ngày)
61

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/vscode-cpptools

Tất cả issue của microsoft/vscode-cpptools

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.