Memory bug diagnosis tools
Besides retain cycle leaks, what other kinds of memory bugs do you run into on iOS? And if one took you a long time to track down, which kind was it?
Besides retain cycle leaks, what other kinds of memory bugs do you run into on iOS? And if one took you a long time to track down, which kind was it?
The main kinds are leaks and retain cycles, access to deallocated objects (dangling), abandoned memory that keeps growing without being a leak, and memory corruption from thread races. Each has a different cause and a different tool.
Performance and debuggingMultiple choiceBasics
An app you're debugging in Xcode throws an intermittent EXC_BAD_ACCESS, and you don't…
#zombies #debugging
Performance and debuggingShort answerBasics
Opening and closing a certain screen repeatedly makes the app's memory keep growing. In…
#leaks #memory-graph
Performance and debuggingShort answerIntro
Once you've reproduced a bug, which Xcode debugging features do you actually reach for…
#debugging
Performance and debuggingMultiple choiceIntro
Which of these can you do with Xcode breakpoints without changing any code? Select all…
#debugging