2011-05-20 7 views
2

NSZombieを使用してプログラムをデバッグしようとしています。デバッガは問題のあるインスタンスのアドレスを返しましたが、コマンド 'shell malloc_historyを実行するために必要なpidを取得する場所がわかりません目的C:gdbで<process id>を見つける場所

正しいpidは何ですか?この場合?私は3298と3298:707を試してみました。ここで何か助けてくれてありがとう。唯一のシミュレータで動作malloc_history

ジェン鍬

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. 

答えて

1

。あなたのログは、あなたがデバイス上でそれをやっていると言います。

関連する問題