在 Xcode 4.2 中查看 malloc 历史记录
我试图在 Xcode 4.2 中找到释放实例错误。我启用了 Zombie Objects、Guard Malloc 和 Malloc Stack 选项。
在控制台中,我使用 Shell malloc_history pid adress 并没有显示任何内容。
我的问题是有人知道如何在 Xcode 4.2 中查看对象的 malloc 历史记录或者我做错了什么?
谢谢。
I'm trying to find a deallocated instance error in Xcode 4.2. I've Zombie Objects, Guard Malloc and Malloc Stack options enabled.
In the console I use Shell malloc_history pid adress and shows nothing.
My question is anybody knows how view the malloc history of an object in Xcode 4.2 or what I'm doing wrong?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保输入正确的 pid 和地址。
此参考可能会帮助您:
了解 malloc_history 转储
Make sure you input the right pid and address.
This reference may help you:
Understanding a malloc_history dump