Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instruments leaks stopping after app starts

So I want use Leaks to find the leaks in my app. In Xcode, I go to "Product" and then hit "Profile". In Instruments I select Leaks and it starts. My app is starting and Leaks is running. But just as soon as my app is finished starting and I can use it, Leaks stops.

Is there anybody else with the same problem or maybe knows how to fix this?

like image 338
pkoning Avatar asked Jun 15 '11 12:06

pkoning


3 Answers

I would chose a development profile for all release,debug modes, clean the simulator, clean xcode ,then i would launch instruments

like image 60
akr ios Avatar answered Oct 23 '22 00:10

akr ios


The Leaks instrument seems to close after the app receives lot of memory warnings. Closing all background applications helps.

like image 25
user1227834 Avatar answered Oct 23 '22 00:10

user1227834


clean project build folder, close XCode IDE and clean MAC Os caches then it should work. if it's an iOS project you have to delete app from simulator/device before re compile it.

like image 22
modus Avatar answered Oct 23 '22 00:10

modus