Page 1 of 1

Silverlight support

Posted: Wed Aug 27, 2008 9:25 am
by thomas
Any plans to support Silverlight profiling?

Posted: Wed Aug 27, 2008 7:21 pm
by Andreas Suurkuusk
Unfortunately Microsoft doesn't provide a profiling interface for the Silverlight runtime. Therefore .NET Memory Profiler will not be able to do normal profiling of Silverlight applications. However, we are looking into the possibility to provide "attach to" profiling of Silverlight applications. We still need to investigate this some more before we know whether it will be possible.

How to check Memory leaks for silverlight control

Posted: Tue Feb 10, 2009 12:42 pm
by Divya.T
Hi,

Currently we are using .Net Memory Profiler for finding memory leaks for Windows Form control. Now we are planned to do the same for Silverlight controls.

Can you please tell me whether we can find memory leaks for silverlight controls using .Net Memory Profiler. If so, please provide me the clear details on the same

Regards,
Divya.T

Posted: Tue Feb 10, 2009 4:16 pm
by Andreas Suurkuusk
Currently it is not possible to use .NET Memory Profiler on a Silverlight application. It is our intention to support Silverlight in a future version of .NET Memory Profiler, but at the moment we don't have any estimated release date for this.

Re: Silverlight support

Posted: Fri Apr 16, 2010 12:47 pm
by mshovelt
Hi,

Any update on this situation? The gap in the market for good debug /profiling tools in the Silverlight space is becoming more and more of an issue.

Regards,
Matt

Re: Silverlight support

Posted: Tue Apr 20, 2010 6:25 pm
by Andreas Suurkuusk
Support for Silverlight will be included in the next version of .NET Memory Profiler (v4.0). This support will only be available for Silverlight 4, as earlier Silverlight versions don't include profiling support. A preview of .NET Memory Profiler 4.0 will hopefully be made available within a few months.

Re: Silverlight support

Posted: Fri Aug 20, 2010 6:31 pm
by pchristm
Any more guidance on a 4.0 beta? I've been anxiously avoiding learning to track Silverlight leaks with sos...

Re: Silverlight support

Posted: Sun Aug 22, 2010 9:39 pm
by Andreas Suurkuusk
The preview of .NET Memory Profiler 4.0 will be released soon, hopefully within the next two weeks. This version will include support for Silverlight profiling (except for attach and memory dump import, which will most likely be included soon).

However, the currently released version of .NET Memory Profiler 3.5 also supports Silverlight profiling, even though no UI guidance is provided. To profile a Silverlight application inside a browser (e.g. the Silverlight application at http://www.silverlight.net), perform the following:
  1. Select Profile Application
  2. Enter Internet Explorer as the executable: "C:\Program Files\Internet Explorer\iexplore.exe"
  3. Enter the command line: "-noframemerging http://www.silverlight.net". The -noframemerging argument is important to make sure that a new separate Internet Explorer process is used.
  4. As soon as the Silverlight application has been loaded into Internet Explorer, the profiler should be attached to it.
If you are working with a standalone Silverlight application, you can enter SLLauncher.exe as the executable to use when launching the Silverlight application.

Some profiler features will not work when profiling Silverlight. The resource tracker must be disabled, it is not possible to collect gen #0 snapshots (when heap utilization is enabled), and the declarative assertions will not work. This is something that we will fix for version 4.0.

Re: Silverlight support

Posted: Mon Feb 14, 2011 9:41 pm
by EdgellDana
I agree with you
all true what was said