开发者

Using NSZombieEnabled for debugging EXC_BAD_ACCESS with the Device

I am debugging with NSZombieEnabled variable for my executable which is crashing on the device but it is not crashing on the simulator. How do I solve this hitch when I am debugging with the iPhone device.

2011-01-14 13:53:08.948 AppName[179:307] 

*** -[ReaderViewController setOriginalNavigatorURL:]: message sent to deallocated instance 0x3caa8d0
warning: Unable to read 开发者_如何学Gosymbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 (8C148a)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).

(gdb) info malloc_history 0x3caa8d0
Undefined info command: "malloc_history 0x3caa8d0".  Try "help info".

(gdb) What to type here?


You could try these instructions to run Instruments with Zombies so that you can view the allocation history, etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜