Search code examples
c++visual-studio-2015profiler

Visual studio 2015 profiler not showing anything from my code


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.


Solution

  • 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.