I'm new to development using Xcode, and am having trouble using the built-in Leaks Instrument.
I have enabled guard malloc and put MallocStackLogging YES & MallocStackLoggingNoCompact YES in the environmental variables for the executable. Then running the process by clicking
Run->Start with performance tool->Leaks
But only object allocations show in the UI, In the leaks frame all it says is "Analyzing process" (I have left it for over 20mins like this with no change)
I deliberatly created a leak in main()
void * leak = malloc(100);
leak=NULL;
but no change
If i run from the console
~$ leaks ProcessName
It correctly reports
Process 1014: 223344 nodes malloced for 9017 KB
Process 1014: 1 leak for 112 total leaked bytes.
Leak: 0x100100020 size=112 string ''
Call stack: [thread 0x7fff70767720]: | start | main | malloc | malloc_zone_malloc
but does anyone know why the UI won't show the same thing?
Thanks