Visual studio profiler not working for Azure Function

Viewed 137

Is it possible to do local memory profiling using Visual Studio Enterprise 2019 (v16.6.3)? I've tried .NET Object Allocation Tracking, Memory usage and CPU usage using the startup project but I keep getting no data: Screenshot of profiling options in Visual Studio Enterprise 2019

When I switch to Attach to a running process, I have a lot less options but I do see data when running CPU usage and attaching it to the running func.exe: enter image description here

This might be the cause: https://docs.microsoft.com/en-us/visualstudio/profiling/troubleshooting-performance-tools-issues?view=vs-2017#no-data-is-collected-by-the-profiling-tools

How can I do memory profiling on an azure function?

0 Answers
Related