| Author |
Message |
samunro
Joined: 01 Oct 2012 Posts: 3
|
Posted: Mon Oct 01, 2012 9:33 am Post subject: 'No results to display.' when profiling a Silverlight 5 App |
|
|
I am trying to profile a Silverlight 5 application but am getting the message 'No results to display.'. I am starting profiling as follows.
1. Open Ants Performance Profiler.
2. Select File | New Profiling Session... from the menu.
3. Select Silverlight 4+ applicaiton.
4. Enter the URL 'http://localhost:62539' into the Silverlight application URL text box.
5. Leave everything else at its default setting.
6. Click on the Start Profiling button.
The application then starts and in the background (in Ants Profiler) I can see that some icons are briefly displayed before the message 'No results to display' is shown again.
Versions
Ants Performance Profiler: 7.4
Visual Studio 2012
Silverlight 5
.Net Framework 4.5
What steps should I take to get this working?
Many thanks,
Scott Munro |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 442
|
Posted: Tue Oct 02, 2012 12:02 pm Post subject: |
|
|
Hi Scott,
It seems as though the process crashed before getting results (this is not uncommon- profiling by instrumentation techniques is rough on code sometimes). Can you try a couple of things:
1) Run ANTS *explicitly* as administrator (right-click on the ANTS.UI.exe...)
2) Use either sampling mode or 'attach to process' (with your process already running)
You should get something from this...
Otherwise, can you open up the silverlight console and check for exceptions? |
|
| Back to top |
|
 |
samunro
Joined: 01 Oct 2012 Posts: 3
|
Posted: Mon Oct 08, 2012 5:04 pm Post subject: |
|
|
Thanks for the reply Chris.
The application process did not appear to crash as I was able to login and use it as per normal - my actions just weren't profiled. I guess that it might have crashed and then restarted automatically but it did not look like this was happening.
1. Running ANTS as administrator did not make any difference. Note that the executable on my machine is named RedGate.Profiler.UI.exe and is located in the following path.
C:\Program Files\Red Gate\ANTS Performance Profiler 7
2. "Sample method-level timings" did not make any difference. I was not able to attach to my silverlight process. The only option that I saw related to attaching was for a ".Net 4 process".
I am not sure what you mean by "Silverlight Console". I don't see anything in the output pane within Visual Studio if that is what you mean. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Mon Oct 08, 2012 5:19 pm Post subject: |
|
|
Sometimes IE tries to host the Silverlight in a browser instance that is not being watched by ANTS. You will want to try closing all instances of IE (even the "hidden" iexplore processes shown in Task Manager) and try the profiling again.
http://www.red-gate.com/supportcenter/content/knowledgebase/ANTS_Performance_Profiler/KB201102000483 _________________ 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 |
|
 |
samunro
Joined: 01 Oct 2012 Posts: 3
|
Posted: Tue Oct 09, 2012 7:34 am Post subject: |
|
|
Thanks Brian!
That was my problem. I realise now why some of the other developers were not affected - they use Chrome when browsing the internet and never had any other instances of Internet Explorer open.
Cheers,
Scott |
|
| 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