标签:blog http ar os 使用 sp on div 问题
转:http://www.devdiv.com/home.php?mod=space&uid=50901&do=blog&id=50856
在XCode的以前版本中,如果遇到了
1 |
message sent to deallocated instance 0x6d564f0 |
1 |
NSString *themePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:themePathTmp]; |
2 |
if (themePath) |
3 |
self.backgroundIV.image = [UIImage imageWithContentsOfFile:[themePath stringByAppendingPathComponent: @"mask_1.png" ]]; |
4 |
|
5 |
[themePath release]; |
1 |
sudo malloc_history 50127 0x6d564f0 |
结果显示为:
1 |
NSString *themePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:themePathTmp]; |
1 |
[themePath release]; |
如何在LLDB下排查message sent to deallocated instance问题
标签:blog http ar os 使用 sp on div 问题
原文地址:http://www.cnblogs.com/xitang/p/4111645.html