2

NSZombieを使用してプログラムをデバッグしようとしています。デバッガーは問題のあるインスタンスのアドレスを返しましたが、コマンド'shellmalloc_historyを実行するために必要なpidをどこで取得するかわかりません

この場合に使用する正しいpidは何ですか?3298と3298:707を試しましたが、どちらも機能しませんでした。ここで助けに感謝します。

ジェンホー

2011-05-19 16:57:05.779 CarParkDemon[3298:707] in table view cellforRow Method3
2011-05-19 16:57:05.781 CarParkDemon[3298:707] *** -[CFString retain]: message sent to deallocated instance 0x5d82930
warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.3 (8J2)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).
(gdb) shell malloc_history 3298:707 0x5d82930
malloc_history cannot examine process 3298 because the process does not exist.
4

1 に答える 1

1

malloc_history はシミュレーターでのみ機能します。あなたのログは、あなたがデバイス上でそれをしていると言っています。

于 2011-11-08T11:11:19.063 に答える