Get class from instance hex in Objective-C

Viewed 4770

When seeing an instance variable's address in the debugger, how can one get the class by entering in the given memory address?

I know that the opposite (getting the address from an instance) is possible with p someObjectInstance in the debugger or NSLog(@"%p", someObjectInstance); from within the code. Is there a similar way to do this the other way around?

4 Answers
Related