Forum Discussion

odedma's avatar
odedma
Contributor
13 years ago

TestComplete hung in debug mode. Starts after 5 minutes (ver 9.1)

Hello,



When running a script with debug enabled, TC hangs for 5 minutes before beginning execution. In a clean project it starts immediately. In my case, my project has ~12,000 lines in 9 script units.



* I put in a breakpoint (first line), and run the sub. 

* After ~five minutes the breakpoint hits.

* During these 5 minutes the CPU is above 90% and eventually TC process occupies ~280MB of RAM.



It is not reasonable to wait 5 minutes each time I execute... Please advise.

Thanks.

3 Replies

  • Do you have global variables declared?  Have you watched to see whether the execution point is during the 5 minutes?



    It will process all global variables (even if not in any script units that are being called by the test you run), plus it seems to check all scripts for syntax and invalid object property reference type errors before it executes anything...
  • but still to wait 5 min is a long long time.... 

    is there a way to shorten the time ?