ANTS Memory Profiler - 7.0

ANTS Memory Profiler

Learning ANTS Memory Profiler - 7.0

Profiling a Silverlight 4 browser application

This feature requires the Silverlight 4 plugin in Internet Explorer.

To profile a Silverlight 4 browser application:

  1. If your application runs in a browser, use Task Manager to kill all iexplore.exe processes that are already running.

    This ensures that ANTS Memory Profiler attaches to the right iexplore.exe process when it starts profiling.

  2. Start ANTS Memory Profiler. If it is already running, on the File menu, click New Profiling Session...
  3. On the ANTS Memory Profiler Settings dialog box, on the Application Settings tab, select Silverlight 4 browser application.
  4. If your application runs in a browser, next to Silverlight application URL, enter:
    • A local path to the HTML file which embeds the application
    • A URL (pointing to localhost) of the HTML file which embeds the application

    If your application runs in out-of-browser mode, next to Silverlight application URL, enter:

    • A local path to the XAP file
    • A URL (pointing to localhost) of the XAP file
  5. You should normally leave Profile child processes and Monitor disposal of objects selected, although monitoring the disposal of objects may impact the performance of your application.
  6. If required, change the performance counters to record.
  7. Click startprofilingbutton.
  8. Check whether there are any memory problems.

amp_setup_silverlight

Note that line-level timings are not available when profiling Silverlight applications, and that some performance counters are not shown on the timeline.

Was this article helpful?

Search support
Forums

ANTS Memory Profiler

all products