Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Profiler doesn't show my code

I'm using profiler in Visual Studio 2012 to find bottlenecks in my code, but I found that after moving project to another computer, profiler doesn't show my code at all, but only modules names:

enter image description here

There is TrineaClient which is my project's module, but it doesn't show its functions as profiler wouldn't have knowledge about them. But so far I didn't have problems with this.

I understand it may not find symbols for some system modules or libraries that I'm using, but so far it always handled my own code.

What may be the reason for this behaviour?

like image 808
Piotr Chojnacki Avatar asked Jan 19 '14 15:01

Piotr Chojnacki


Video Answer


1 Answers

(updated based on the fact that you're using Windows 8.1)

Windows 8.1 came with some changes to the underlying system that the VS profiler uses when collecting information. If you update to Visual Studio 2012 Update 4 (or newer) and profile again, symbols should be resolved correctly.

Generally, in the VS Profiler, when you see module names in square brackets where you would expect function names, it means that symbols for that module could not be resolved.

like image 56
mandaleeka Avatar answered Oct 12 '22 19:10

mandaleeka