分配跟踪库未及时加载,无法查看堆栈跟踪 [英] Allocations tracking library was not loaded in time and unable to see stack trace

查看:58
本文介绍了分配跟踪库未及时加载,无法查看堆栈跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要打开仪器,我们必须先剖析然后选择必须剖析内存泄漏的模板,分配,僵尸.但是我仍然没有加载错误分配库,也看不到堆栈跟踪.并在应用程序中找不到泄漏的原因

For opening Instruments we must profile first then select which template we have to profile memory leaks,allocations,zombies. But still I get the error allocations library was not loaded, and could not see the stack trace also. And could not find the reason of leak in the application

正如其他链接中提到的解决方案一样,我同时使用模拟器(iOS7)和活动方案(iOS7)

As mentioned solution in other links, I am using both simulator (iOS7), and active scheme (iOS7)

Xcode版本:版本5.0.2(5A3005) 模拟器:iOS 7.0.3(111B508) Mac:OS X版本10.8.5

Xcode Version:Version 5.0.2 (5A3005) Simulator: iOS 7.0.3 (111B508) Mac: OS X Version 10.8.5

如果以上任何信息不正确,请原谅.请给答案..谢谢

Please excuse if any information above is incorrect. Please give answers..Thanks in advance

推荐答案

我在iOS 7模拟器上遇到了问题.我仍然不知道如何解决此问题,但我可能已经找到了解决方法.

I'm running into the issue on iOS 7 simulator. I still don’t know how to fix this, but I may have found a workaround.

  1. 轻按记录按钮"以停止仪器(如果正在运行).
  2. 选择工具->删除分配"工具...菜单.您只能在工具中看到泄漏"
  3. 点击录制按钮"以启动乐器.在模拟器上启动您的应用程序.
  4. 点击库"按钮,然后将分配"拖到乐器"上.您可以在工具中看到泄漏"和分配"

在步骤4之后,我可以看到堆栈跟踪.

I can see the stack trace after Step 4.

这篇关于分配跟踪库未及时加载,无法查看堆栈跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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