簡體   English   中英

從iPhone中的設備調試應用程序?

[英]Debug application from the Device in iPhone?

我正在從設備調試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.

如何解決呢?

您是否要調試臨時或應用商店構建? 在這些情況下,我已經看到此錯誤。 切換到Debug配置,我認為它會起作用。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM