| Author |
Message |
jtalbot
Joined: 09 Aug 2008 Posts: 6
|
Posted: Thu Jul 02, 2009 1:46 am Post subject: Profiling an outlook add-in |
|
|
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 |
|
 |
jtalbot
Joined: 09 Aug 2008 Posts: 6
|
|
| Back to top |
|
 |
jtalbot
Joined: 09 Aug 2008 Posts: 6
|
Posted: Thu Jul 02, 2009 2:31 am Post subject: |
|
|
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 |
|
 |
jtalbot
Joined: 09 Aug 2008 Posts: 6
|
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Mon Jul 13, 2009 5:31 pm Post subject: |
|
|
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. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
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