如何在 Xcode 4 中打开内存浏览器?

How do I open the memory browser in Xcode 4?(如何在 Xcode 4 中打开内存浏览器?)
本文介绍了如何在 Xcode 4 中打开内存浏览器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Xcode 3 中调试程序时,我经常在单独的窗口中使用内存浏览器来查看缓冲区更改的内容,同时单步执行代码行.

When debugging programs in Xcode 3, I often used the Memory Browser in a seperate window to view the contents of a buffer change while I step through the lines of code.

当我现在开始使用 Xcode 4 时,我想知道如何打开内存浏览器.我在 UI 中找不到类似的东西.有人可以提供帮助吗?

As I now started using Xcode 4, I wonder how to open a Memory Browser. I can't find anything like that in the UI. Can anybody provide help?

推荐答案

选择产品 > 调试 > 调试时查看内存或按 Shift-Cmd-M.这将显示内存浏览器并将内存"条目添加到调试导航器中:

Select Product > Debug > View Memory while debugging or press Shift-Cmd-M. This will display the memory browser and add an entry for 'Memory' into the Debug navigator:

您也可以在 Debug 面板中右键单击一个变量,然后选择 View Memory of "*"直接跳转到显示该变量的内存.

You can also right-click on a variable in the Debug panel and select View Memory of "*<variable name>" to jump straight to displaying memory for that variable.

这篇关于如何在 Xcode 4 中打开内存浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Why local notification is not firing for UNCalendarNotificationTrigger(为什么没有为UNCalendarNotificationTrigger触发本地通知)
iOS VoiceOver functionality changes with Bundle Identifier(IOS画外音功能随捆绑包标识符而变化)
tabbar middle tab out of tabbar corner(选项卡栏中间的选项卡角外)
Pushing UIViewController above UITabBar(将UIView控制器推送到UITabBar上方)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Get an event when UIBarButtonItem menu is displayed(显示UIBarButtonItem菜单时获取事件)