# Debugging problem in TestComplete on Windows 11

**URL:** <https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652>\
**Category:** TestComplete\
**Tags:** test, testcomplete, migrated, latest\
**Created:** [March 27, 2026, 8:49pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652 "2026-03-27T20:49:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 27, 2026, 8:49pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/1 "2026-03-27T20:49:51Z")

</div>

> Originally posted by **Modesto** on March 27, 2026

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.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 8:00am UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/2 "2026-03-30T08:00:49Z")

</div>

> Originally posted by **rraghvani** on March 30, 2026

Update your TestComplete to the latest version.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 12:58pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/3 "2026-03-30T12:58:55Z")

</div>

> Originally posted by **sunnychopra** on March 30, 2026

we installed latest version but still facing the same issue.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 1:27pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/4 "2026-03-30T13:27:31Z")

</div>

> Originally posted by **Modesto** on March 30, 2026

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.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 1:41pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/5 "2026-03-30T13:41:39Z")

</div>

> Originally posted by **rraghvani** on March 30, 2026

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

What language are you using?

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 5:08pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/6 "2026-03-30T17:08:22Z")

</div>

> Originally posted by **Modesto** on March 30, 2026

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.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 5:12pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/7 "2026-03-30T17:12:22Z")

</div>

> Originally posted by **rraghvani** on March 30, 2026

What version of Windows 11 are you using?

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

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 5:16pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/8 "2026-03-30T17:16:52Z")

</div>

> Originally posted by **Modesto** on March 30, 2026

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.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 5:38pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/9 "2026-03-30T17:38:30Z")

</div>

> Originally posted by **rraghvani** on March 30, 2026

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

 ![](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/51ef64b3be3ad9108fec399ab09a37572a64eb50.png)

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 5:47pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/10 "2026-03-30T17:47:08Z")

</div>

> Originally posted by **Hassan\_Ballan** on March 30, 2026

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.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 5:52pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/11 "2026-03-30T17:52:59Z")

</div>

> Originally posted by **Modesto** on March 30, 2026

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.

 ![](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/03d5046be59ef3df60c47ec27a9259bbd6272ab4.png)

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 5:57pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/12 "2026-03-30T17:57:28Z")

</div>

> Originally posted by **Modesto** on March 30, 2026

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.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 30, 2026, 7:47pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/13 "2026-03-30T19:47:17Z")

</div>

> Originally posted by **rraghvani** on March 30, 2026

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!

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 31, 2026, 11:08am UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/14 "2026-03-31T11:08:30Z")

</div>

> Originally posted by **Modesto** on March 31, 2026

rraghvani

The data returned by the procedure is being inserted as a string into the table, but as I said, it works normally in Windows 10.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 31, 2026, 1:15pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/15 "2026-03-31T13:15:55Z")

</div>

> Originally posted by **Modesto** on March 31, 2026

I consulted with our Microsoft team and it was confirmed that the tool is not designed to run on Windows 11. This version has more secure memory access via the DM.dll file, causing TestComplete to close unexpectedly whenever I pause a debugging session or reach a breakpoint while testing Delphi and C# (.NET) applications. I am using JavaScript.

We performed several tests to try and work around the problem, but all were unsuccessful.

I disabled “Memory Integrity” (Core Isolation) in Windows 11.

I added TestComplete.exe to the “Exploit Protection” exclusions (specifically disabling Hardware-Enhanced Stack Protection).

I re-registered DM.dll.

Attached is a screenshot of the error that occurs in the Windows event log.

Since our company hasn’t yet renewed the contract that allows us to open a support ticket with SmartBear, I can’t proceed with the request. If anyone could do me this favor, I would appreciate it.

All that’s left for us to do here is revert to Windows 10 so as not to interrupt our work.

Thank you all for your collaboration and help.

Thank you.

 ![](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/8cb4d70d972fbf6ba9da135b5356fcc4a1b82be1.png)

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 31, 2026, 5:48pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/16 "2026-03-31T17:48:44Z")

</div>

> Originally posted by **rraghvani** on March 31, 2026

I’m using Windows 11 with Core Isolation enabled; this is managed by our corporate IT, so I cannot override it. Several other forum members are also on Windows 11, and we have not encountered this issue before.

[Variables of the Table Type](https://support.smartbear.com/testcomplete/docs/testing-with/variables/data-types/table.html) need to be accessed in a specific way, and I am able to read and set values without issues. I suspect that the “_data returned by the procedure is being inserted as a string into the table_” might not be handled correctly. Additionally, characters such as diaeresis or umlaut (i.e., Unicode characters) could potentially cause issues as well.

Going forward, please include details about the AUT (e.g., Delphi or C#/.NET applications), the scripting language being used in TestComplete, and any other relevant information that could help reproduce the issue.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [April 1, 2026, 11:41am UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/17 "2026-04-01T11:41:18Z")

</div>

> Originally posted by **Modesto** on April 01, 2026

rraghvani

I’ll share an example of how I’m using it. My application is in C# and I’m using the JavaScript language.

Example of my function that creates the table and inserts the data.

> function addTableDadosPedidoComercial(Qry)  
> {  
> createVariableTemporary(‘varTableDadosPedidoComercialTest’, ‘Table’);
> 
> ```
> var t = Project.Variables.VariableByName('varTableDadosPedidoComercialTest');
> 
> //create colums of table temporary    
> t.AddColumn('nCdPedidoComercial');  
> t.AddColumn('nCdUsuarioResponsavel');  
> t.AddColumn('nCdEmpresa');  
> t.AddColumn('nCdModalidadeBoleto');  
> t.AddColumn('nCdTerceiro');  
> t.AddColumn('nCdTpTerceiro');  
> t.AddColumn('nCdTerceiroEntrega');  
> t.AddColumn('nCdRepresentante');  
> t.AddColumn('nCdProdutoCarregar');  
> t.AddColumn('nPreco');  
> t.AddColumn('nQtde');  
> t.AddColumn('iLimiteMinimoEmbarqueDesembarque');  
> t.AddColumn('iLimiteEmbarqueDesembarque');  
> t.AddColumn('nCdTpFaturamento');  
> t.AddColumn('nPercGorduraA');  
> t.AddColumn('nPercGorduraB');  
> t.AddColumn('nPercGorduraC');  
> t.AddColumn('nPesoMedioGorduraA');  
> t.AddColumn('nPesoMedioGorduraB');  
> t.AddColumn('nPesoMedioGorduraC');  
> t.AddColumn('nCdEmpresaCarga');
> 
> //create rows      
> t.RowCount = Qry.RecordCount;""  
> 
> iRow = 0;  
> while (!Qry.EOF)  
> {     
> t('nCdPedidoComercial',iRow) = Qry.field(0).AsString;    
> t('nCdUsuarioResponsavel',iRow) = Qry.field(1).AsString;    
> t('nCdEmpresa',iRow) = Qry.field(2).AsString;    
> t('nCdModalidadeBoleto',iRow) = Qry.field(3).AsString;    
> t('nCdTerceiro',iRow) = Qry.field(4).AsString;    
> t('nCdTpTerceiro',iRow) = Qry.field(5).AsString;    
> t('nCdTerceiroEntrega',iRow) = Qry.field(6).AsString;    
> t('nCdRepresentante',iRow) = Qry.field(7).AsString;    
> t('nCdProdutoCarregar',iRow) = Qry.field(8).AsString;  
> t('nPreco',iRow) = Qry.field(9).AsString;  
> t('nQtde',iRow) = Qry.field(10).AsString;  
> t('iLimiteMinimoEmbarqueDesembarque',iRow) = Qry.field(11).AsString;  
> t('iLimiteEmbarqueDesembarque',iRow) = Qry.field(12).AsString;  
> t('nCdTpFaturamento',iRow) = Qry.field(13).AsString;  
> t('nPercGorduraA',iRow) = Qry.field(14).AsString;  
> t('nPercGorduraB',iRow) = Qry.field(15).AsString;  
> t('nPercGorduraC',iRow) = Qry.field(16).AsString;  
> t('nPesoMedioGorduraA',iRow) = Qry.field(17).AsString;  
> t('nPesoMedioGorduraB',iRow) = Qry.field(18).AsString;  
> t('nPesoMedioGorduraC',iRow) = Qry.field(19).AsString;  
> t('nCdEmpresaCarga',iRow) = Qry.field(20).AsString;  
> iRow++;  
> Qry.Next();  
> }   
> 
> createVariableTemporary('contTableDadosPedidoComercial', 'Integer');  
> Project.Variables.contTableDadosPedidoComercial = 0;     
> 
> ```
> 
> }

And I’m attaching the example return of the procedure.

My environment: Windows 11, SQL Server v22

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [April 1, 2026, 2:09pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/18 "2026-04-01T14:09:51Z")

</div>

> Originally posted by **Hassan\_Ballan** on April 01, 2026

As a workaround, avoid inspecting the table variable using Alt+W or the Watch/Evaluate window during debugging. Instead, log specific values (e.g., Log.Message(t(‘col’, 0))) or copy small subsets of the data into simple variables or arrays for inspection, since normal execution and TestExecute runs are not impacted.

From what’s been shared, this looks less like a data or scripting issue and more like a debugger-related problem on Windows 11. The crash only occurs when evaluating a populated table variable during a paused debug session, while the same code runs fine outside debug and on Windows 10. That strongly points to how TestComplete’s debugger is trying to evaluate or serialize the table object rather than how the data is being created or stored.

To help others reproduce and narrow this down, it would be useful to isolate the exact trigger by simplifying the scenario step by step: try a table with just one column and one row, then gradually increase columns and rows to see when it starts failing; check whether accessing a single cell versus evaluating the whole table makes a difference; and confirm whether the crash only happens when using Alt+W versus hovering or logging values. This should help determine whether the issue is tied to table size, structure, or the debugger’s evaluation behavior.

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [April 1, 2026, 2:13pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/19 "2026-04-01T14:13:18Z")

</div>

> Originally posted by **rraghvani** on April 01, 2026

I’ve created a simple example to read 6 columns from your spreadsheet, using DDT. Take note of how the values are assigned and retrieved via t.$set() and t.$get()

```auto
function Test()
{
    // Create variable, if it doesn't exist
    if (!Project.Variables.VariableExists("DadosPedidoComercial"))
        Project.Variables.AddVariable("DadosPedidoComercial", "Table");
  
    // Get a reference to the variable
    var t = Project.Variables.VariableByName("DadosPedidoComercial");
  
    // Add columns to the table
    t.AddColumn('nCdPedidoComercial');
    t.AddColumn('nCdUsuarioResponsavel');
    t.AddColumn('nCdEmpresa');
    t.AddColumn('nCdModalidadeBoleto');
    t.AddColumn('nPreco');
    t.AddColumn('nQtde');
    
    t.RowCount = 5; // Specify fixed size
    row = 0;
    
    // Use DDT to read Excel
    DDT.ExcelDriver("C:\\Temp\\Book1.xlsx", "Sheet1");
    while (! DDT.CurrentDriver.EOF())
    {
        DDT.CurrentDriver.Value(0)
        
        t.$set("nCdPedidoComercial", row, DDT.CurrentDriver.Value(0));
        t.$set("nCdUsuarioResponsavel", row, DDT.CurrentDriver.Value(1));
        t.$set("nCdEmpresa", row, DDT.CurrentDriver.Value(2));
        t.$set("nCdModalidadeBoleto", row, DDT.CurrentDriver.Value(3));
        t.$set("nPreco", row, DDT.CurrentDriver.Value(4));
        t.$set("nQtde", row, DDT.CurrentDriver.Value(5));
        
        row++ // Counter
        DDT.CurrentDriver.Next();
    }
    DDT.CloseDriver(DDT.CurrentDriver.Name);

    // Output each row
    t.RowCount = row; // Update row count
    for (var i = 0; i < t.RowCount; i++)
    {
        var logMessage = 
            "Row " + i + ": " +
            "Pedido=" + t.$get("nCdPedidoComercial", i) + ", " +
            "Usuario=" + t.$get("nCdUsuarioResponsavel", i) + ", " +
            "Empresa=" + t.$get("nCdEmpresa", i) + ", " +
            "Modalidade=" + t.$get("nCdModalidadeBoleto", i) + ", " +
            "Preco=" + t.$get("nPreco", i) + ", " +
            "Qtde=" + t.$get("nQtde", i);

        Log.Message(logMessage);
    }

    // Output each row and column
    for (var i = 0; i < t.RowCount; i++)
    {
        var rowText = "Row " + i + ": ";
    
        for (var c = 0; c < t.ColumnCount; c++)
        {
            var colName = t.ColumnName(c);
            rowText += colName + "=" + t.$get(colName, i) + "; ";
        }
    
        Log.Message(rowText);
    }
}

```

 ![](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/78b2b741b2ea0f5a1fafbf1308eece742d32dec6.png)Output results

Also, is there any particular reasons for using a Table variable?

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [April 1, 2026, 3:06pm UTC](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652/20 "2026-04-01T15:06:12Z")

</div>

> Originally posted by **Modesto** on April 01, 2026

Hassan\_Ballan

Let’s go to the results.

Regarding log.Message, I had already tried using it, but I can only get a value without a breakpoint in debug mode. If there’s a breakpoint, it doesn’t even return the value of the table field and freezes/closes TestComplete.

I hadn’t thought of leaving only one column, but I did it now leaving only one column of the table and the same problem occurs when accessing via Alt+W. Even with a breakpoint, without using Alt+W to inspect, the same problem occurs; TestComplete freezes/closes.

[Next page](https://community.smartbear.com/t/debugging-problem-in-testcomplete-on-windows-11/652.md?page=2)
