ANTS Performance Profiler

Latest version: 7.4

ANTS Performance Profiler

Knowledge Base

Double hit counts occurring on one line

Category: Troubleshooting & error messages
Date: 17 Jun 2009
Product: ANTS Performance Profiler
ANTS Profiler may be showing unrealistic hit counts in the source code window. For instance:

100 ->if (i=o)
200 -> { dosomething();
100 -> }

It doesn't make sense that the line with the if statement executed half as often as the code inside of the condition.

This is expected behaviour of ANTS Profiler. The curly-brace is a potential breakpoint in the code and therefore, technically, this line executes twice.

Document ID: KB200703000013 Keywords: ANTS, Profiler, hit count, line,double

Was this article helpful?

Search support
Forums

ANTS Performance Profiler

all products