Instruments Time Profiler does not show time at the C source code level

MacOS 12.3.1 Xcode 13.3.1

When I run my executable under Instruments with the Time Profiler it shows the time per function but when I click on the function name to see the time per line of code it displays the source but with no time information (percentage of time for that line). I've tried a variety of compiler options for my code such as -g and -g3 but that does not seem to matter.

I have not used Instruments in a few years but I am pretty sure it displayed the time at the source code level with no special compiler flags in the past. Are special compiler flags needed to see the time per line of C source code? If not, how can I debug this?

Thanks

Replies

Same for me. The last version of Xcode that the Time Profiler works properly is 13.2.1. I keep a copy of it around for when I need to use the Time Profiler.

I have the same problem but for a C++ code ...