开发者

XCode 4.1 - Instruments Time Profiler

开发者 https://www.devze.com 2023-04-01 20:44 出处:网络
I\'m trying to use Time Profiler, I\'ve used it before. I\'m hiding system libraries, but all of my symbol names are HEX.

I'm trying to use Time Profiler, I've used it before.

I'm hiding system libraries, but all of my symbol names are HEX.

I'm running in debug, I have debugSymbols turned on....

I've restarted everything a few times and cleaned everyt开发者_如何学编程hing in between..

... anybody got any other ideas?


it's a bit of a pain because there are a number of variables that can cause this. some of the more common ones are:

sometimes you need to tell instruments where to find your files and/or symbols (Preferences->Search Paths).

have you enabled Link Time Optimization (LTO)? it should be off.

sometimes it helps if you do a clean/build.

sometimes it helps if you restart instruments.

in earlier versions of Xcode, it helped to use a central build directory.

verify that you are generating the proper level of debug symbols for all targets.


I no longer get this problem with the latest version.

Apple were no help in answering this for me - even though I used one of my Tech Support Requests. Must have had them stumped too.

0

精彩评论

暂无评论...
验证码 换一张
取 消