| Author |
Message |
ravisk
Joined: 28 Sep 2011 Posts: 1
|
Posted: Wed Sep 28, 2011 1:21 pm Post subject: Silverlight Viewmodel performance profiling. |
|
|
I am using ANTS performance profiler for Silverlight browser application. The application follows MVVM design pattern and has Viewmodels for every view (.xaml). If I am profiling this, I am able to only view the Hot paths in View code behind (xaml.cs) files and ANTS performance profiler does not show the ViewModel code for hot paths.
Is there anything that needs to be done in order to see hot paths of ViewModels? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6345 Location: Red Gate Software
|
Posted: Wed Sep 28, 2011 1:36 pm Post subject: |
|
|
Hello,
If I understand correctly, the basic problem is that you don't see source code for your ViewModels, correct? And you should see methods that correspond to the ViewModel objects' code in the all methods grid, hopefully.
It's probably something to do with the PDBs, as usual. If there is no debugging information available for the module, then ANTS Performance Profiler will not attempt to find the source code for it.
As far as I can tell, Silverlight XAPs are special in that VS does not embed the PDB debugging information into the XAP: you have to manually open it (in WinZip or something) and add the PDBs produced for all of your modules. Then it should be able to locate the source code. _________________ 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