Visual Studio Profiler - how to see function body

527 views Asked by At

So, I'm profiling my application, and I'm getting 30% exclusive samples on System.Windows.Forms.Application.Run, of which almost the entirety is on "Function Body". However, I can't see what is exactly happening there, as Visual Studio tells me "Matching symbols could not be found".

I've tried adding manually the System.Windows.Forms.pdb file, which's pathI got from Debug->Windows->Modules, to Options->Debug->Symbols, to no avail.

I also generated the respective pdb file and added it similarly, with no luck.

I've also tried setting Debugging->General->Enable .Net FrameWork Source stepping to true, and disabled Just My Code, in the same menu. No luck at all

Is there any way this can be done? I really want to know what the hell is happening in that function body that's taking a third of CPU time.

0

There are 0 answers