code executes in if and else
shobinmathew
Posts: 2
I am just using the trial version of ants profiler5.
When check through the functions, I found that it executes both the if and else conditions.
This happens only where we check for existance of cacheed objects.
Please see
http://forum.ancheril.net/viewtopic.php ... p=217#p217
When check through the functions, I found that it executes both the if and else conditions.
This happens only where we check for existance of cacheed objects.
Please see
http://forum.ancheril.net/viewtopic.php ... p=217#p217
Comments
support@red-gate.com
I think what is probbaly happening is you are seeing timing results for all threads so- you are seeing threads that execute the "if" and threads that execute the "else". This is perfectly normal, ANTS is not a debugger; its meant to show you all threads by default. Try selecting a single thread from the drop down menu (even this may show both but makes it less likely).