Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Time profiler instruments not showing objective c functions

I am using instruments but i see only 0x00345 etc in time profiler i do not see any objective c code although i am enabling the 'show objective c only' option...any help appreciated!Without the Show objective c only option

With the Show objective c only option

like image 651
stefanosn Avatar asked Oct 10 '12 11:10

stefanosn


1 Answers

The most likely cause of your problem is that debug symbols are not being generated for your project. Without debug symbols Instruments just shows memory addresses, like the ones shown in your first screenshot.

There are two ways to fix the problem. First, profile your app with the Debug build configuration. Use the Scheme menu in the project window toolbar to change the build configuration. Second, set the Generate Debug Symbols build setting to Yes for the Release build configuration.

like image 121
Swift Dev Journal Avatar answered Sep 23 '22 10:09

Swift Dev Journal