在 Xcode 4.2 中查看 malloc 历史记录

发布于 2024-12-29 09:35:03 字数 215 浏览 2 评论 0原文

我试图在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谜兔 2025-01-05 09:35:03

确保输入正确的 pid 和地址。
此参考可能会帮助您:

了解 malloc_history 转储

Make sure you input the right pid and address.
This reference may help you:

Understanding a malloc_history dump

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文