Profiling XBAP applications
Published 14 May 2018
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:
- From the list of application types, click XBAP.
- Browse to the XBAP application that you want to profile.
- Select the required Profiling mode, Chart 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. - 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:
- From the list of application types, click .NET executable.
- Choose Internet Explorer as the .NET executable that you want to profile.
Internet Explorer is normally located in %ProgramFiles%/Internet Explorer/ - Select the required Profiling mode, Chart 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. - 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.