Xcode 如何决定将什么内容放入其“附加到进程”中?菜单?
Xcode 会猜测您可能想要在 gdb 会话中附加的进程。它总是猜错,我必须查找进程 ID(它是一个 Python 模块)并自己输入。恼人的。
Xcode 如何构建这个菜单?有没有什么方法可以暗示Python进程是我想要的?
Xcode makes a guess at the proccess you may want to attach to in your gdb session. It always guesses wrong and I have to look up the process ID (it's a Python module) and type it in myself. Annoying.
How does Xcode build this menu? Is there any way to hint that the Python process is the one I want?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Xcode 14 显示几个不同的组:
我找不到官方 Apple Xcode 文档,但这篇文章内容丰富。
https://useyourloaf.com/blog/connecting-xcode-to -a-running-process/
我不确定它是为了调试Python,所以在这么长的菜单中找到它将会有问题(除非你想像管理员一样疯狂并重命名它)到其他东西排序更高)。
Xcode 14 displays several different groups:
I couldn't find official Apple Xcode docs, but this article was informative.
https://useyourloaf.com/blog/connecting-xcode-to-a-running-process/
I'm not sure that it is intended to debug Python, so finding it in such a long menu is going to be problematic (unless you want to get wild as the admin and rename it to something else that sorts higher).