You can also do this in the scheme. In your app's scheme, enable Malloc Stack logging for Live Allocations. This is under Diagnostics. Make sure to enable this in the approprate operation, Run or Test.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: