How can I attach to a remote debug server without a PID or program name?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- ios
- Lĩnh vực
- devtools, mobile-dev
Hướng nghiên cứu
Rà soát Documentation/Debugger/gdb/PipeTransport.md và cách xử lý command:pickRemoteProcess cũng như setupCommands. Theo dõi cách việc khởi động máy chủ debug từ xa được biểu diễn cho quy trình iOS; hoàn thành khi xác định và ghi lại một cấu hình được hỗ trợ hoặc xác định phần tích hợp còn thiếu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
For example, debugging something on an iOS device from a laptop. When debugging an iOS process remotely with lldb, a debugserver instance runs on the remote host. debugserver is given a program to launch or a process to attach to, so the local lldb instance doesn't need any of this information. I've looked at Pipe Transport and it requires a PID. I see there is a command:pickRemoteProcess option, but where do I supply a way to start the remote server? Perhaps something with setupCommands?
Under the hood, Xcode communicates with the device and launches an instance of debugserver, supplying a port. If you're not familiar, the workflow by hand is something like this. On the remote host:
$ debugserver --attach=$pidOrProcessName *:12345
Waiting for connection from *:12345...
On the local host:
$ lldb
(lldb) platform select remote-ios
(lldb) platform connect connect://$deviceIP:12345
<debugging starts>
Is this a supported configuration?
- 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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/vscode-cpptools
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/vscode-cpptools#14787 ·
-
[Bug] cpptools fails to start on Ubuntu ARM64 due to missing execute permissions on shared libraries Đang mởbug fixed Language Service regression
microsoft/vscode-cpptools#14779 · 1 người được giao ·
-
Language Service more info needed
microsoft/vscode-cpptools#14778 · 1 bình luận · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 64/100
microsoft/vscode-cpptools#14769 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
microsoft/vscode-cpptools#14768 · 1 bình luận ·
Tất cả issue của microsoft/vscode-cpptools
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
area:tools bug good first issue help wanted priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
newrelic-experimental/preflight#793 · 1 bình luận ·
-
bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
BasedHardware/omi#15320 ·