Profiling XBAP applications

Line-level timings are not available for XBAP applications.

You cannot profile XBAP applications on 64-bit Windows XP.

To profile XBAP applications, you must have Internet Explorer installed on your computer. XBAP profiling is not available in other browsers.

The procedure for profiling XBAP applications depends on whether the XBAP is locally-hosted or remotely-hosted. Local applications are profiled in the same way as an ordinary executable, and remotely-hosted XBAP applications are profiled via Internet Explorer.

Profiling locally-hosted XBAP applications

To profile locally-hosted XBAP applications, on the settings screen:

  1. From the list of application types, click XBAP.
  2. Browse to the XBAP application that you want to profile.
  3. Select the required Profiling modeChart performance counters,  Additional profiler options, and the browser to launch the application.
    For more information, see Working with application settings and Setting up chart performance counters.
  4. Click 

Internet Explorer starts, and displays the XBAP application. Use the XBAP application normally.

During a profiling session you can interact normally with your application and with the profiler.

When you have finished interacting with your XBAP application, click the  button in ANTS Performance Profiler to stop profiling.

Profiling remotely-hosted XBAP applications

To profile remotely-hosted XBAP applications, on the settings screen:

  1. From the list of application types, click .NET executable.
  2. Choose Internet Explorer as the .NET executable that you want to profile.
    Internet Explorer is normally located in %ProgramFiles%/Internet Explorer/
  3. Select the required Profiling modeChart performance counters,  Additional profiler options, and the browser to launch the application.
    For more information, see Working with application settings and Setting up chart performance counters.
  4. Click 

Internet Explorer starts. Navigate to the page which embeds the XBAP application, and use the XBAP application normally.

During a profiling session you can interact normally with your application and with the profiler.

When you have finished interacting with your XBAP application, click the  button in ANTS Performance Profiler to stop profiling.

Closing your browser does not cause profiling to stop.


Didn't find what you were looking for?