DanielHarrod / AppTestStudio

Visually, quickly, automate your apps, games, and android emulators.
GNU General Public License v3.0
24 stars 6 forks source link

Microsoft .NET Framework error #49

Open thorrenat opened 3 weeks ago

thorrenat commented 3 weeks ago

Hi, Different times a day I keep getting this error:

image

Details: Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

** Texto de la excepción ** System.InvalidOperationException: Colección modificada; puede que no se ejecute la operación de enumeración. en System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) en System.Collections.Generic.List`1.Enumerator.MoveNextRare() en AppTestStudio.frmMain.Timer1_Tick(Object sender, EventArgs e) en C:\Users\djhar\Source\Repos\DanielHarrod\AppTestStudio\AppTestStudio\frmMain.cs:línea 3209 en System.Windows.Forms.Timer.OnTick(EventArgs e) en System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Ensamblados cargados ** mscorlib Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9241.0 built by: NET481REL1LAST_C Código base: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

AppTestStudio Versión del ensamblado: 1.0.0.0 Versión Win32: 1.0.0.15 Código base: file:///C:/Program%20Files/App%20Test%20Studio%20-%20DEL/App%20Test%20Studio/AppTestStudio.exe

System.Windows.Forms Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9181.0 built by: NET481REL1LAST_C Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9236.0 built by: NET481REL1LAST_B Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9037.0 built by: NET481REL1 Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9037.0 built by: NET481REL1 Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9241.0 built by: NET481REL1LAST_C Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9037.0 built by: NET481REL1 Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

AppTestStudioControls Versión del ensamblado: 1.0.0.2 Versión Win32: 1.0.0.2 Código base: file:///C:/Program%20Files/App%20Test%20Studio%20-%20DEL/App%20Test%20Studio/AppTestStudioControls.DLL

System.Windows.Forms.resources Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9037.0 built by: NET481REL1 Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll

Microsoft.GeneratedCode Versión del ensamblado: 1.0.0.0 Versión Win32: 4.8.9037.0 built by: NET481REL1 Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Gma.System.MouseKeyHook Versión del ensamblado: 5.6.130.0 Versión Win32: 5.6.130.0 Código base: file:///C:/Program%20Files/App%20Test%20Studio%20-%20DEL/App%20Test%20Studio/Gma.System.MouseKeyHook.DLL

Microsoft.GeneratedCode Versión del ensamblado: 1.0.0.0 Versión Win32: 4.8.9037.0 built by: NET481REL1 Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Accessibility Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9037.0 built by: NET481REL1 Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

OpenCvSharp Versión del ensamblado: 1.0.0.0 Versión Win32: 1.0.0.0 Código base: file:///C:/Program%20Files/App%20Test%20Studio%20-%20DEL/App%20Test%20Studio/OpenCvSharp.DLL

OpenCvSharp.Extensions Versión del ensamblado: 1.0.0.0 Versión Win32: 1.0.0.0 Código base: file:///C:/Program%20Files/App%20Test%20Studio%20-%20DEL/App%20Test%20Studio/OpenCvSharp.Extensions.DLL

System.IO.Compression Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9037.0 built by: NET481REL1 Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.dll

System.IO.Compression.FileSystem Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9037.0 Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression.FileSystem/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.FileSystem.dll

mscorlib.resources Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9037.0 built by: NET481REL1 Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_es_b77a5c561934e089/mscorlib.resources.dll

System.Web Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9232.0 built by: NET481REL1LAST_C Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

PresentationCore Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9241.0 built by: NET481REL1LAST_C Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

WindowsBase Versión del ensamblado: 4.0.0.0 Versión Win32: 4.8.9241.0 built by: NET481REL1LAST_C Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

** Depuración JIT ** Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta aplicación o equipo (machine.config) debe tener el valor jitDebugging establecido en la sección system.windows.forms. La aplicación también se debe compilar con la depuración habilitada

Por ejemplo:

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada se enviará al depurador JIT registrado en el equipo en lugar de controlarlo mediante el cuadro de diálogo.

Any idea why or how to solve it? Thanks

DanielHarrod commented 3 weeks ago

Hi Thorrenat,

Thanks for reporting this issue. I'm not sure why it's in Spanish.

I was not able to reproduce this issue, or find it by line number, but I believe that this could be the culprit. Fix for this issue.

This fix is in the 1.0.17 release.

Let me know if you are still getting an error and I would be happy to investigate it further..

Thanks,

Daniel

thorrenat commented 1 week ago

Hi Daniel,

Certainly with 1.0.17 I am no longer getting this error.

It would be great to add a function to "jump to" and manage to direct the scrip to a different line of code in case of seeing an event or another. I know right know you can set it to jump back to home or parent but some times is limited, can be useful just to jump to a specific line. Just to share some ideas

Thanks for this wonderful tool.

Best regards

DanielHarrod commented 1 week ago

Hi Thorrenat,

Great suggestions.

Daniel