Forum Discussion

Modesto's avatar
Modesto
Occasional Contributor
2 days ago

Debugging problem in TestComplete on Windows 11

Good afternoon!

We had to migrate our operating system to Windows 11 and are currently using TestComplete version 15.59.

With this update, when we try to debug the code, TestComplete freezes and closes automatically.

Has anyone else experienced this? If so, how can we resolve it?

Thank you very much.

12 Replies

  • Modesto's avatar
    Modesto
    Occasional Contributor

    Hassan_Ballan

    That's right, as I said above, it's a table that receives data from a procedure that populates it to use that data in filling the fields in my application.

    I also did this test without debugging and no errors occurred, I also did it with TestExecute and no errors occurred in the test either.

    With a simple variable, this error does not occur when accessed via Alt+W.

  • Modesto's avatar
    Modesto
    Occasional Contributor

    I did a test like that and didn't have any problems either. Now try inserting data into the variable; in my test, this variable is a table that receives 20 columns, and data is inserted from the return of a procedure. In this scenario, when I try to access it, the application freezes/closes.

     

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

      What does your data structure look like, and how are you inserting the data?

      I'm guessing you're inserting data, that is not of the correct type!

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

    Your variable name varTableDadosPedidoComercialTest suggests it might be a Table variable. These are more complex and can behave differently during debugging.

    Do you see the same issue when:

    • Using a simple variable (e.g., string or integer)?
    • Running the test normally (Run) vs only during Debug?

    This should help narrow down whether the issue is specific to:

    • Table variables
    • The debugger
    • Or a broader **TestComplete + Windows 11 interaction

    Since you’ve already confirmed it works on Windows 10 and also reproduced it in a clean project, I would recommend creating a support case with SmartBear. This looks like it could be a product-level issue rather than something project-specific.

    If this resolves your scenario, marking it as the solution helps future readers find it quickly.

  • Modesto's avatar
    Modesto
    Occasional Contributor

    Just one additional note, sorry I forgot to mention it.

    This freezing and closing of TestComplete only occurs when I try to access the variable's content using the Alt+W, and also in some situations where it freezes/closes unexpectedly.

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

      I've followed similar steps, and it's working fine.

       

  • Modesto's avatar
    Modesto
    Occasional Contributor

    I did what was suggested, created a new project, changed the variable names to "var tst = Project.Variables.varTableDadosPedidoComercialTest" and the same problem occurred, it crashed and closed.

    I'm using JavaScript.

    I also did another test using the same project on Windows 10 and neither version 15.59 nor 15.81 of TestComplete had the problem.

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

      What version of Windows 11 are you using?

      Can you provide your code example, together with the crash dialog that appears please?

  • Modesto's avatar
    Modesto
    Occasional Contributor

    Good morning!!

    Even with the response from colleague sunnychopra, I followed rraghvani's suggestion and updated to version 15.81, and the result was the same as reported by sunnychopra.

    When I'm debugging and want to access the variable "var t = Project.Variables.varTableDadosPedidoComercial", the application freezes and closes automatically, something that doesn't happen in Windows version 10.

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

      Could you recreate a new project, with a new variable, and debug to see if it crashes please?

      What language are you using?

    • sunnychopra's avatar
      sunnychopra
      Occasional Visitor

      we installed latest version but still facing the same issue.