How do I set a malloc_error_break in Xcode4? Also, I seem to be getting this error malloc: *** error for object 0x4d80814: incorrect checksum for freed object - object was probably modified after being freed.
Is there anyway I can check what object 0x4d80814 is? It doesn’t show up in the variables list in the debugger.
I think this is how its done.
XCode 4.
Usually it is caused by objects being created as subobjects of other objects that don’t exist yet (ie SKPhysicsBody being created before its spritenode exists)