How do I open the memory browser in 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 中打开内存浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 Xcode 4 中打开内存浏览器?


基础教程推荐
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01