Time profiler instruments not showing objective c functions

余生长醉 提交于 2019-12-05 16:06:49

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/12818149/time-profiler-instruments-not-showing-objective-c-functions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!