Memory profiler on VSTO Word AddIn
jassim
Posts: 1 New member
I was looking for a way to do memory profiling on VSTO Word AddIn. How we can do that ?
I am using Visual Studio 2019 Community Edition
I am using Visual Studio 2019 Community Edition
Tagged:
Answers
Hello Jassim
Please can you try targeting the executable of the office application that's hosting your addin?
E.G "winword.exe" rather than your add-in DLL
When you try and start profiling, ANTS Profiler may warn you that you haven't selected a .NET executable, but accept this warning and carry on anyway.
As the application starts up, watch the status bar in ANTS Profiler - it should change from "Waiting for connection..." to "Profiling performance of...".
Thanks and kind regards,
Peter
Redgate Support