'Visual Studio Profiler error "symbol file does not contain source information or cannot be found"

I get below error when I try to open the source code of DLL used in profiler report.

  • Profiling Type: Instrumentation
  • application Configuration: Debug ,any-cpu
  • DLL Configuration :Debug ,any-cpu
  • Visual studio : 2017,2019,2022

I was able to open source code in CPU profiling report but not opening in Instrumentation Profiling report.

CPU Profiler:

enter image description here

Instrumentation Profiler:

Instrumentation Profiler

Clicked on Symbol settings and added .pdb file path. But the source code not loading. How to view source code of DLL in Instrumentation Profiler report.



Solution 1:[1]

Fixed it by running both api's on the same port using the http module!

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ferdi Duschka