VSTO add-in

Questions about YourKit .NET Profiler
Post Reply
bcbille
Posts: 2
Joined: Wed Mar 12, 2014 2:06 pm

VSTO add-in

Post by bcbille »

Can I profile a Visual Studio Tools for Office (VSTO) add-in? This is a set of DLLs written in .NET 4.5 that are loaded and accessed from a Microsoft Office executable. The DLLs add functionality to the Office application, such as PowerPoint, Excel and Word.

How can I "attach" the profiler to the add-in and bypass the code in the Office application?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: VSTO add-in

Post by Anton Katilin »

bcbille
Posts: 2
Joined: Wed Mar 12, 2014 2:06 pm

Re: VSTO add-in

Post by bcbille »

Thanks Anton.

I found that I could use the technique in the first document in your reply, i.e., "Next .NET processes that will start" from the Welcome screen. This gets me to the .NET code in the add-in.

I could not attach to the application in the Monitor Local Applications window because the add-in is running inside an EXE which is not .NET (e.g., PowerPoint, Word or Excel).

I also found that I could start the Office application as a "Standalone application" from the Welcome screen. The profiler sees the add-in if the "Profile child .NET processes" is checked.

Thanks very much. This is working well now.
Post Reply