Red Gate forums :: View topic - Profiling stopped
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler Previous Versions
ANTS Memory Profiler Previous Versions forum

Profiling stopped

Search in ANTS Memory Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
sergey68



Joined: 19 Dec 2007
Posts: 4

PostPosted: Mon Sep 06, 2010 3:27 am    Post subject: Profiling stopped Reply with quote

I am trying to profile Silverlight 4 application. I was able to do it yesterday after downloading the trial. Today I am unable to do so. I am getting a message "profiling stopped"

Thank you.

Sergey
_________________
Sergey Barskiy, Software Developer
Back to top
View user's profile Send private message MSN Messenger
AndrewH



Joined: 17 Aug 2006
Posts: 137

PostPosted: Tue Sep 07, 2010 11:43 am    Post subject: Reply with quote

If the iexplore process that ANTS starts gets shut down immediately for any reason then you'll see this behaviour. There are a few things that can cause this:

Something I've seen is that sometimes IE starts running in the background, and passes any requests to its background instance. ANTS can't attach to this (in fact, it looks like the IE just shut down immediately), so you see this behaviour. The fix is to use task manager to ensure that no instances of iexplore are running before starting profiling.

If IE goes into protected mode it restarts itself and disables the profiler. ANTS runs IE as an administrator on Vista to disable this behaviour, but you can also disable it explicitly in IE's preferences. You can see if this is happening by looking at the status bar.

If the target web page closes the IE window/tab using javascript it can shut down the profiler as a result - the profiler can only target processes that it controls. Temporarily disabling this behaviour or using a different target page will prevent this (with IIS profiling you can use a different browser window, but with Silverlight profiling the profiler needs to attach to a specific instance of the browser in order to do its job)

One other thing that might be worth trying is that if your application supports out-of-browser mode you can ask the profiler to specifically target the XAP file instead of a web page.
_________________
Andrew Hunter
Software Developer
Red Gate Software Ltd.
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