I’m trying to profile a VST3 plugin with Visual Studio’s built-in Performance Profiler. Here is what I’ve been doing:
- I compile the plugin in release config with debug symbols (debugging works perfectly)
- I copy the .vst3 and .pdb files to my plugin folder, start the host and load the plugin
- I attach the profiler to the host, start the measurement and stop it after a few seconds (while I interact with the plugin)
The profiler then correctly shows the CPU usage % but doesn’t display any information about the code that was running:
(The green area is where CPU usage recording was enabled)
There are no filters set, it’s supposed to show all threads and both external and native code. After clicking on “Open details…” it says “No code was running during the selected time”.
What am I doing wrong? Can someone with recent experience please point me in the right direction?
Thanks in advance!