仪器泄漏 - 未显示我的源代码 [英] Instruments Leaks - Not showing my source code

查看:136
本文介绍了仪器泄漏 - 未显示我的源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Leaks应用程序分析iPhone应用程序,除了当我尝试查看有关特定内存泄漏的详细信息时,一切似乎都正常工作。泄漏似乎没有加载我的源代码。查看右侧的堆栈视图,我可以看到引用iPhone框架的调用,但引用我编写的源代码的任何内容都是空的。下面的截图说明了我的观点。浅蓝色的块应该引用我的源代码。有没有人遇到过这个问题?泄漏是不是没有正确找到我的源代码/符号?谢谢!

I am attempting to analyze an iPhone application using the Leaks application and everything appears to be working fine, except for when I try to view detailed information about a particular memory leak. Leaks does not appear to be loading my source code. Looking at the stack view on the right, I can see calls that reference iPhone frameworks, but anything that is referencing source code that I've written is empty. The screenshot below illustrates my point. The blocks that are light blue should be referencing my source code. Has anyone ever had this problem? Is Leaks just not finding my source code/symbols correctly? Thanks!

编辑:我正在使用带有Debug配置的'Device - iPhone OS 2.2'编译应用程序。我通过在Xcode中选择Run-> Start With Performance Tool-> Leaks来启动Leaks。如何为Leaks提供使符号文件可用?

I am compiling the app using the 'Device - iPhone OS 2.2' with the Debug configuration. I launch Leaks by selecting Run->Start With Performance Tool->Leaks from within Xcode. How would one go about 'making the symbol files available' for Leaks?

alt text http://www.andrewgarrison.com/forum/leaks_nosource.png

推荐答案

删除任何来自您的启动盘的非ascii字符

和主机名(请参阅系统偏好设置中的共享面板)
并重新启动。

Remove any non-ascii characters from both your your startup disk
and hostname (see the Sharing panel in System Preferences) and restart.

Ta da!

这篇关于仪器泄漏 - 未显示我的源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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