Home > Back-end >  VS profiler, source information not available
VS profiler, source information not available

Time:09-28

I'm trying to use visual studio performance profiler for the first time and I'm interested in a specific function of mine which is successfully detected by the profiler. However, when I click on it I get "Source information is not available" .

How do I fix this?

enter image description here

All external functions from libraries are visible. Any function that is in "lab.cpp" won't show. I mean, not even "main" is available. This is the only file I edit, I write all my code in there:

enter image description here

CodePudding user response:

In case someone else has the same problem, I solved it by setting the "Debug Information Format" which was previously empty in my cpp file's(the file containing the functions) General Properties:

enter image description here

  • Related