我正在尝试使用 NSZombie 调试我的程序。调试器确实向我返回了有问题的实例的地址,但是我不确定从哪里获取运行命令“shell malloc_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.