ryank
9 years agoOccasional Contributor
TestComplete Crashes when debugging Keyword Tests
I am using JScript with my project and I have found that if one of my scripts returns a JScript object while I am debugging a Keyword test, TestComplete will freeze. The only option to recover is to kill the process and restart. This happens every time and makes debugging very difficult. To reproduce, try including the following in a JScript Script Unit and calling the function showFreeze from a Keyword Test. Store the return value to a variable and step once more (to a log statement or something) so the variable would be showing in the Local Variables window. TestComplete will freeze. I have also included an example project that shows this behavior.
function showFreeze(){
return new Example();
}
function Example(){
this.message = "Hello";
}