ANTS Performance Profiler may show no profiling results, may show no results for some methods, or may show the error message "The profiler did not find any methods with source code", when:

This page describes how to fix these problems.

If your results are only missing SQL or HTTP call profiling data, see Troubleshooting SQL call and HTTP request profiling.

If the application you are profiling crashes, you may also receive no results, or incomplete results. For more information, see Troubleshooting application crashes.

ANTS Performance Profiler cannot find usable .pdb files for your application

See Troubleshooting PDB problems.

ANTS Performance Profiler cannot find any code to profile

ANTS Performance Profiler may be unable to find your code if:

For web applications and WCF services running in IIS:

ANTS Performance Profiler cannot read a performance counter

If any performance counters are missing from profiling results, rebuild the counters and try profiling again.

To rebuild performance counters:

Profiling Windows Store Applications with trivial methods

When profiling Windows Store Applications, some methods don't appear in profiling results because ANTS Performance Profiler ignores trivial methods for Windows Store Applications.

A method is trivial if it is smaller than 192 bytes of IL, doesn't contain any branches or loops, and doesn't contain any calls to other methods.

Contacting Redgate support

If you still can't fix your problem, contact Redgate support. Ensure that you include: