microsoft / microsoft/vscode-cpptools

Remote debugging not possible

Đang mở
#321 24 bình luận 5 reaction 1 người được giao Xem trên GitHub

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

Từ ngày 5/11/2016.

debugger
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

Mô tả

Trying to attach to a GDB server with no luck. All I want is to connect to the GDB server, run target remote localhost:4444 and start sending some monitor commands.

As soon as I uncomment miDebuggerServerAddress I get

Unable to start debugging. Cannot access a disposed object.

Also, why am I required to specify a process id? I am trying to debug on a embedded target, so my GDB server, that I run through, speaks with it over JTAG. Which process id is referred to?

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "C++ Attach",
            "type": "cppdbg",
            "request": "attach",
            "program": "${workspaceRoot}/Sw/A_XMC/out/use/A_Myriad_A_6_13.elf",
            "processId": "${command.pickProcess}",
            "MIMode": "gdb",
            // "miDebuggerServerAddress": "localhost:4444",
            "miDebuggerPath": "C:/dev/ELF/GDB/gdb.exe"
        }
    ]
}

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.

Đánh giá

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

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.