Forum Discussion

nelsonbritto's avatar
nelsonbritto
Occasional Contributor
20 days ago

TestComplete Closing Issue in Debug Mode

Hi, I am testing a desktop application in TestComplete. When I choose Debugging mode, set a breakpoint, and run the test, the code goes to the next breakpoint and stays in a paused (breakpoint) state. After a short time, TestComplete closes automatically.

Why is this happening, and can you please tell me how to resolve this issue?

2 Replies

  • scot1967's avatar
    scot1967
    Icon for Champion Level 3 rankChampion Level 3

    Hi Nelsonbritto,

    First thought,  TestComplete won't recognize a break point on certain types of code lines or if the line is skipped due to conditional code like an if statement or a for each.  Could you share the code line where the break point is skipped?  The second problem where TC stalls and quits would require a look at  the code block, function or method.  

    Some other post here mentioned complex JS in Windows

    1. We have some complex JScript-based project and TC (any 14 and 15 version) crashes miserably on Win11 24H2. Everything is fine on Win11 23H2.

     

    Testcomplete closed itself | SmartBear Community

    I will pass this along as well... I we can't help then hit TC support from your Help menu in TC.