Red Gate forums :: View topic - code executes in if and else
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 5
ANTS Performance Profiler 5 forum

code executes in if and else

Search in ANTS Performance Profiler 5 forum
Post new topic   Reply to topic
Jump to:  
Author Message
shobinmathew



Joined: 14 Aug 2009
Posts: 1
Location: India

PostPosted: Fri Aug 14, 2009 8:13 am    Post subject: code executes in if and else Reply with quote

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?f=12&t=93&p=217#p217
_________________
Shobin Mathew
http://blog.ancheril.net
http://forum.ancheril.net
http://www.ancheril.net
Back to top
View user's profile Send private message AIM Address
Chris.Allen



Joined: 12 Mar 2009
Posts: 585

PostPosted: Fri Aug 14, 2009 11:28 am    Post subject: Reply with quote

Can you send the screenshot into us at support please?

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).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group