Visual studio 2015 profiler not showing anything from my code

Silencer picture Silencer · Aug 20, 2015 · Viewed 16.4k times · Source

I'm trying to use profiler from Visual Studio 2015 Community for CPU usage, and all I get is just my exe and [External code], nothing else:profiler result

There is a generated pdb file, and I tried to clean and rebuild my project, disabled just my code; could someone help me ? Thanks.

Answer

Silencer picture Silencer · Sep 28, 2015

Try this: Debug -> Start Diagnostic Tools Without Debugger and from there select Performance Wizard rather than CPU Usage, and only from there select CPU or other option you need, this solved the problem in my case.