double free ***在malloc_error_break中设置断点以在ARC中进行调试 [英] double free*** set a breakpoint in malloc_error_break to debug in ARC

查看:192
本文介绍了double free ***在malloc_error_break中设置断点以在ARC中进行调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用程序中使用ARC与核心数据和线程等,在完成所有艰苦的工作以使核心数据与线程一起工作而没有任何崩溃现在我得到一个新崩溃的原因 -

I am using ARC in my application with core data and threading etc, after doing all that hard work to get core data work with threading without any crashes now I am getting a new crash with the reason-

double free*** set a breakpoint in malloc_error_break to debug

我该如何处理?我无法控制对象的保留计数。

How am I supposed to handle this? I have no control on the objects' retain counts.

推荐答案


  1. 启用Zombie

  2. 请点击此链接: http://iphone2020.wordpress.com / 2012/02/23 /捕获的例外·维持同时调试/ 。这将建议确切的崩溃点。

  1. Enable Zombie
  2. Follow this link : http://iphone2020.wordpress.com/2012/02/23/capturing-exceptions-while-debugging/. This will suggest exact point of crash.

这篇关于double free ***在malloc_error_break中设置断点以在ARC中进行调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆