从 iPhone 中的设备调试应用程序?

发布于 2024-10-28 03:37:37 字数 1096 浏览 1 评论 0原文

我正在从设备调试 iPhone 应用程序。此时控制台上打印出以下消息:

[Session started at 2011-03-30 11:15:42 +0530.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Fri Oct 22 04:12:10 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys001
Loading program into debugger…
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-182-66
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
Error launching remote program: failed to get the task for process 173.
Error launching remote program: failed to get the task for process 173.
The program being debugged is not being run.
The program being debugged is not being run.

如何解决这个问题?

I was debugging an iPhone application from the device. At that time the following message was printed on the console:

[Session started at 2011-03-30 11:15:42 +0530.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Fri Oct 22 04:12:10 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys001
Loading program into debugger…
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-182-66
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
Error launching remote program: failed to get the task for process 173.
Error launching remote program: failed to get the task for process 173.
The program being debugged is not being run.
The program being debugged is not being run.

How to solve this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

香草可樂 2024-11-04 03:37:37

您是否正在尝试调试临时或应用程序商店构建?我在这些情况下看到过这个错误。切换到调试配置,我认为它会起作用。

Are you trying to debug an ad hoc or app store build? I've seen this error in those cases. Switch to a Debug configuration and I think it'll work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文