Debugging C ++ code in xcode, is there a way to view the contents of std :: shared_ptr?
If I look at the watch window, all I see is __ptr = (element_type *) 0xa66945c
and writing "po myPointer" in the direct window also prints only the memory address.
I also tried looking at the memory __ptr_ and looking at the memory * __ ptr_, but that only allows me to see
raw memory and actual readable text
Can anyone suggest a way to view the object for which I have a pointer?
source share