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.
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?
preguntado el 08 de noviembre de 11 a las 14:11
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:
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.
I open it when i debug. I place a breakpoint, right click on an variable -> View In Memory "..." .
It will open in a tab, but you can drag the tab out of the Xcode tab-bar.
As of xCode 12.4 you could open the memory view by going to debug->Debug Workflow=> view memory
And then on the left top click show the debug navigator tab