I’m sorry it’s a bit off topic but I’m running into a weird issue with Instrument/Leaks. I’ce spent hours on Google trying to fix it without luck so I give a try here.
Basically, I’m developing an app with cocos2d-x, and I’ve created a leak on purpose somewhere in my code just to make sure I would be able to track them during the dev process.
However, when I run the project in XCode with the “Profiling” scheme, it detects the leak but it doesn’t show where in the code, which makes it practically unusable.
I’m running the application on the Simulator, not on an actual device as I don’t have one at the moment.
I tried to play with the settings, but without luck:
* re-symbolicate the application, didn’t work.
* running the profiling with all debug options (editable in the scheme editor), didn’t work.
My Instruments looks like this:
If anyone can explain to me how to fix this problem, it would be great. Maybe it’s not possible to detect memory leaks in the simulator, but I didn’t see anything in that sense in the documentation.
leaks.png (178.0 KB)