ANTS Performance Profiler

Latest version: 7.4

ANTS Performance Profiler

Knowledge Base

Methods in (ASCX) web controls may not appear

Category: Troubleshooting & error messages
Date: 17 Jun 2009
Product: ANTS Performance Profiler
Versions: 2-4

When profiling a web application that loads controls using Controls.LoadControl() in the ASPX code, the methods inside the control may not appear in the profiling results when selecting the "profile only methods with source code" option.

ASP .NET has a class called "FastObjectFactory" that may compile your ASCX code and cache the assembly, eliminating the references to your source code, causing the "profile only methods that contain source code" option to filter the ASCX method calls from the results.

The workaround is to profile using the "profile all methods" setting or use a custom filter to remove the Framework methods from the results.

Document ID: KB200707000060 Keywords: REDG, ANTP, ASCX, missing, methods

Was this article helpful?

Search support
Forums

ANTS Performance Profiler

all products