I am trying to profile a worker role instance in my Azure deployment using Visual Studio IDE following the below link and it work well in locally with the Emulator.
http://msdn.microsoft.com/en-us/library/azure/hh369930.aspx#BK_ChoosingMethod
I have deployed a profiling version of the service using a release build, and with 'Instrumentation' as the profiling method.
I have tried setting the Visual Studio Symbol file locations to none, the location of the .pdb files in the solution and the location of another folder with the .pdb files copied into it.
When I use the profiling report option in Visual Studio Server Explorer, the .vsp file downloads, but I see lots of the following entries in the output window;
Warning VSP2701: D:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsAzureEventSource\v4.0_2.4.0.0__31bf3856ad364e35\WindowsAzureEventSource.dll could not be found when looking for symbol information.
Warning VSP2701: E:\approot\WorkerRole1.dll could not be found when looking for symbol information.
Warning VSP2701: D:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Performance Tools\x64\vsperfcorprof.dll could not be found when looking for symbol information.
Warning VSP2701: D:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\IntelliTrace\12.0.0\x64\Microsoft.IntelliTrace.Profiler.12.0.0.dll could not be found when looking for symbol information.
Warning VSP2701: E:\base\x64\mswasri.dll could not be found when looking for symbol information.
Warning VSP2701: E:\base\x64\WaRuntimeProxy.dll could not be found when looking for symbol information.
Warning VSP2701: D:\Windows\SYSTEM32\VSPerf120.dll could not be found when looking for symbol information.
Warning VSP2701: E:\approot\Microsoft.WindowsAzure.Diagnostics.dll could not be found when looking for symbol information.
Warning VSP2701: E:\approot\Microsoft.WindowsAzure.Diagnostics.StorageUtility.dll could not be found when looking for symbol information.
………………………
Then in the WorkerRole.vsp for the report, the function name ishexadecimal number, not the real name.
If we want to view the details for the specified Function, it will show:
Matching symbols could not be found. Choose the symbol settings… link to add the symbol file location and then reload the report.
I have already set the Symbols Settings:
And In D:\Azure_profiling Folder, it contains the all downloaded *.dll.
So how can I set the function name is the right one, and can view the details for each Function?
Thanks a lot!