I am trying to optimize memory usage in an iOS application, and I would like to know what the overall memory usage of the application is at certain points in the code. I thought I could set breakpoints, profile the application using Activity Monitor and just look at memory usage when each breakpoint catches. But when I run the Tools, it seems that breakpoints no longer stop execution, so it's hard to know exactly when memory usage is changing.
Can breakpoints and tools be used at the same time? If not, is there a smart way to write code to insert a marker into the tool timeline when certain events occur?
Jesse crossen
source share