in

wahooga.com

A report on life in Technical Support for a software company

Dave Mellors

Profiling managed .Net framework plugins

One of the applications I support is called ANTS Profiler which provides performance and memory profiling for managed code.

A few times recently I have had customers ask about profiling plugins and although I knew it was possible I wasn't entirely sure how easy it was or what was involved. So, I asked one of our developers about it and he pointed me at the Microsoft Visual Studio 2005 Automation Samples and he told to install one of them into Visual Studio 2005 and point ANTS Profiler at it.

I gave it a try and sure enough it really was that simple. ANTS Profiler did come up with a warning telling me that Visual Studio wasn't a managed application but I just clicked on OK and as soon as the managed addin was loaded I was able to profile it.

So, I now know that ANTS Profiler can profile managed plugins but I also know what is involved. The discovery of the automation samples have been an additional bonus as I hadn't realized they had existed but could have done with them in the past.

Share this post: email it! | bookmark it! | digg it! | reddit!

Comments

 

Dave Mellors said:

At least twice in the last week or so I've been asked about profiling Excel plugins. Whilst I could just say to the customers "Yes, that should be OK"  I would always rather try it out first and so I managed to grab 10 minutes to give it a bash.

A quick search on Google provided some sample code from the Microsoft web site for an Excel addin written in C# which I was able to quickly compile and give a try.

No tricky problems to resolve and no fiddly poorly documented parameters to discover. I must admit I felt a bit dissapointed when I pointed ANTS Profiler at Microsoft Excel and it worked straight away.

May 6, 2007 11:32 PM

Leave a Comment

(required)  
(optional)
(required)  
Add

About Dave Mellors

I work for Red Gate Software in Cambridge, UK as part of the technical services team. This is my personal blog and so carries my own personal views which could vary from the views and opinions of my employer. I am passionate about IT and would like to change the way that people think about the IT industry and the people that work in it. Particularly those who work in the support teams.
Copyright 2007 Dave Mellors
Powered by Community Server (Non-Commercial Edition), by Telligent Systems