Red Gate forums :: View topic - Profiling an outlook add-in
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 5
ANTS Performance Profiler 5 forum

Profiling an outlook add-in

Search in ANTS Performance Profiler 5 forum
Post new topic   Reply to topic
Jump to:  
Author Message
jtalbot



Joined: 09 Aug 2008
Posts: 6

PostPosted: Thu Jul 02, 2009 1:46 am    Post subject: Profiling an outlook add-in Reply with quote

Hi,
Is there a way to profile an Outlook 2007 Add-in (the add-in itself is written in .net)?
If I choose the application type as ".net executable", then no data gets collected. I don't really see any other application type that would be suitable.
_________________
JT
http://www.global-autotrading.com
Back to top
View user's profile Send private message
jtalbot



Joined: 09 Aug 2008
Posts: 6

PostPosted: Thu Jul 02, 2009 2:24 am    Post subject: Reply with quote

This post says that it should work, but the method described doesn't work for me.

http://www.red-gate.com/MessageBoard/viewtopic.php?t=6354

The profiler just keeps saying in the status bar "Launching Outlook.exe". I tried with all 4 profiling methods, and it's always the same result.
_________________
JT
http://www.global-autotrading.com
Back to top
View user's profile Send private message
jtalbot



Joined: 09 Aug 2008
Posts: 6

PostPosted: Thu Jul 02, 2009 2:31 am    Post subject: Reply with quote

Aah, interesting: the memory profiler works, but not the performance profiler.

Note that I have to use the "launch ANTS x Profiler" from the visual studio menu; the "profile performance" and "profile memory" menu items are always disabled for the solution containing my outlook add-in. I'm using the trial version, and it was the same when I was usability testing with version 4.x.
_________________
JT
http://www.global-autotrading.com
Back to top
View user's profile Send private message
jtalbot



Joined: 09 Aug 2008
Posts: 6

PostPosted: Sun Jul 12, 2009 12:44 pm    Post subject: Reply with quote

No reply -- does this just work for everyone else but me?
_________________
JT
http://www.global-autotrading.com
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6641

PostPosted: Mon Jul 13, 2009 5:31 pm    Post subject: Reply with quote

Hello,

You typically profile add-ins by profiling the process that launches them, in this case outlook.exe. If the status stays at "waiting", that's meant to indicate that the process being profiled did not load the .net runtime and may be all unmanaged code.

I believe that the ANTS Profiler add-in only works with project types that produce executable output -- I don't believe it has the intelligence to go through the project's debugging properties and work out what process is meant to load the assembly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group