Red Gate forums :: View topic - Silverlight Viewmodel performance profiling.
Return to www.red-gate.com RSS Feed Available

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

Silverlight Viewmodel performance profiling.

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
ravisk



Joined: 28 Sep 2011
Posts: 1

PostPosted: Wed Sep 28, 2011 1:21 pm    Post subject: Silverlight Viewmodel performance profiling. Reply with quote

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
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Wed Sep 28, 2011 1:36 pm    Post subject: Reply with quote

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.
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