I’m running the Allocation tool in Xcode 4/Instruments, and would like to identify the class of a specific malloc’d object. I know the responsible caller, but can’t figure out which specific object is being allocated – all I have is an address, a category of “malloc 712KB”, as well as details on the responsible library and caller. Can anyone help? Thanks.
I’m running the Allocation tool in Xcode 4/Instruments, and would like to identify the
Share
Opening the extended detail view shows the call stack for the memory allocation. Looking at the call stack helps identify where in your code you allocated the memory, which would help you determine the class of the object that was allocated.
Choose View > Extended Detail View to show the extended detail view or click the right button in the View group in the toolbar.