Function evaluation timed out

Ask general questions here.
Posts: 12
Joined: Wed Nov 05, 2008 6:50 pm

Function evaluation timed out

Post by din2dino » Wed Dec 31, 2008 9:06 pm


I have a table with wround 70 child elements that I iterate through to find the element I want. However after few iterations, teh childs are returned as null. I ma using GetChild(index). After few iterations, it child is returned as null. While debugging, state of the table is shown as Funciton evaluation timed out. Please continute execution etc etc

How should I solve this problem? I there a place I can increase te timeout?

This application is more like web form embedded into winforms,
Please help


User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Post by Support Team » Mon Jan 05, 2009 3:32 pm

What Ranorex 1.X version do you use?
Can you tell me the classname of the table control?

The "Function evaluation timed out..." message is issued by the Visual Studio debugger when it refuses to execute code that involves other threads than the current one. I.e. this is not a Ranorex specific message (as there is no timeout for the GetChild method) and should only be displayed when you try to execute code in the variable watch window. Try using writing to the Console instead of the debugger watch window for quickly checking values of such variables.

Ranorex Support Team