Silencer Silencer - 1 year ago 250
C++ Question

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.

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download