< index

Debugging with Xcode

1294998850

NSZombieEnabled

at first enable zombies. this means that your objects do not get deallocated. instead they get transformed into a zombie and you can examine them later.

in your group&files view double click on your executable and select the arguments tab. add an environment variable "NSZombieEnabled"

NSZombieEnabled=YES

objc_exception_throw

for accessing your zombies you need to stop when an error occours. set a global breakpoint "objc_exception_throw"

breakpoint

breakpoint



< index