Debugging Smashed Memory in Obj-C

Posted on Tue 23 April 2013 in development • Tagged with debugging

We were getting a crash inside a button. Calling po self wasn't helpful.

(lldb) po self
$1 = 0x0ce854d0 [no Objective-C description available]

Well.. That's weird. I wonder what's at that memory location?

(lldb) memory read 0x0ce854d0
0x0ce854d0: 00 00 00 b0 93 6a ce a0 0e 00 00 00 00 …

Continue reading