How can I attach to a remote debug server without a PID or program name?
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- ios
- 领域
- devtools, mobile-dev
调研方向
检查 Documentation/Debugger/gdb/PipeTransport.md 以及对 command:pickRemoteProcess 和 setupCommands 的处理。追踪 iOS 工作流中远程调试服务器启动的表示方式;完成的标准是确定并记录一种受支持的配置,或识别缺失的集成。
由索引模型根据 Issue 内容生成。
描述
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?
- 主要语言
- TypeScript
- 星标
- 6.2k
- 派生
- 1.7k
- 平均合并
- 14 小时 46 分钟
- 30 天内合并 PR
- 61
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-cpptools 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
microsoft/vscode-cpptools#14787 ·
-
[Bug] cpptools fails to start on Ubuntu ARM64 due to missing execute permissions on shared libraries 未关闭bug fixed Language Service regression
microsoft/vscode-cpptools#14779 · 已指派 1 人 ·
-
Language Service more info needed
microsoft/vscode-cpptools#14778 · 1 条评论 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 64/100
microsoft/vscode-cpptools#14769 ·
-
难度 3/5 1-2 天 新手友好度 68/100
microsoft/vscode-cpptools#14768 · 1 条评论 ·
查看 microsoft/vscode-cpptools 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
area:tools bug good first issue help wanted priority:P2
难度 2/5 1-3 小时 新手友好度 90/100
TaewoooPark/Motifcode#14 ·
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
newrelic-experimental/preflight#793 · 1 条评论 ·
-
bug 🐞
难度 2/5 1-3 小时 新手友好度 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
BasedHardware/omi#15320 ·