Debug with Scribble, Guard Edges and Guard Malloc Permanently deleted user Created March 17, 2014 07:20 Is there a way to enable Enable Scribble Enable Guard Edges Enable Guard Malloc when debugging an app?
Just answered my own question:
See:
https://developer.apple.com/library/mac/documentation/performance/conceptual/managingmemory/articles/MallocDebug.html
&
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/malloc.3.html#//apple_ref/doc/man/3/malloc
Setting the Environment variables:
MallocScribble=YES
MallocGuardEdges=YES
There are more options.
There are good settings to have for all your iOS debug schemes
NSZombieEnabled=YES
MallocGuardEdges=YES
MallocScribble=YES
MallocPreScribble=YES
MallocStackLogging=YES
MallocStackLoggingNoCompact=YES
MallocCheckHeapStart=1000
MallocCheckHeapEach=100
It would be nice if they could just be ticked like in X-Code.
It's useful functionality, so I've filed request for it http://youtrack.jetbrains.com/issue/OC-9406
Thanks, though I've already logged this : OC-9397
http://youtrack.jetbrains.com/issue/OC-9397