Hi Chris, I think I've found an error in intellisense of XIDE. If you type StringComparison.Or... and select "OrdinalIgnoreCase" from the Intellisense popup and then you get the following error:
StringComparison.OrdinalIgnoreCase
Re: StringComparison.OrdinalIgnoreCase
Hi Irwin,
Can't reproduce it here, does it happen in every prg and in any kind of code (for example also when you use it in an empty funtion), or only in this specific one?
Also please click on details, what is the callstack shown in the error?
Can't reproduce it here, does it happen in every prg and in any kind of code (for example also when you use it in an empty funtion), or only in this specific one?
Also please click on details, what is the callstack shown in the error?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: StringComparison.OrdinalIgnoreCase
Hi Chris, for now is happening with StringComparison.Or... but I'll let you know if it happens with another one. Sorry for not sending you the details:Chris wrote: Sun Jan 19, 2025 12:37 pm Hi Irwin,
Can't reproduce it here, does it happen in every prg and in any kind of code (for example also when you use it in an empty funtion), or only in this specific one?
Also please click on details, what is the callstack shown in the error?
Code: Select all
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.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
en Xide.EditorControl.DoAction(ActionObject oAction, Action eAction, Object uData, Boolean lSelection)
en Xide.EditorControl.DoAction(ActionObject oAction, Action eAction, Object uData)
en Xide.EditorControl.StartAction(Action eAction, Object uData)
en Xide.EditorControl.KeyDownHandler(KeyEventArgs e)
en Xide.EditorFocuser.OnKeyDown(KeyEventArgs e)
en System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
en System.Windows.Forms.Control.WmKeyChar(Message& m)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ButtonBase.WndProc(Message& m)
en System.Windows.Forms.Button.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.9290.0 built by: NET481REL1LAST_C
Código base: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
XIDE.64
Versión del ensamblado: 0.0.0.0
Versión Win32: 0.0.0.0
Código base: file:///F:/Lenguajes/XIDE/XIDE.64.exe
----------------------------------------
XIDE.Main
Versión del ensamblado: 0.0.0.0
Versión Win32: 0.0.0.0
Código base: file:///F:/Lenguajes/XIDE/XIDE.Main.DLL
----------------------------------------
XIDE.Base
Versión del ensamblado: 0.0.0.0
Versión Win32: 0.0.0.0
Código base: file:///F:/Lenguajes/XIDE/XIDE.Base.DLL
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.8.9251.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.9282.0 built by: NET481REL1LAST_C
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.9277.0 built by: NET481REL1LAST_B
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
----------------------------------------
XIDE.PluginSystem
Versión del ensamblado: 0.0.0.0
Versión Win32: 0.0.0.0
Código base: file:///F:/Lenguajes/XIDE/XIDE.PluginSystem.DLL
----------------------------------------
wxEditorKit
Versión del ensamblado: 0.0.0.0
Versión Win32: 0.0.0.0
Código base: file:///F:/Lenguajes/XIDE/Plugins/wxEditorKit.dll
----------------------------------------
wxFindReferences
Versión del ensamblado: 0.0.0.0
Versión Win32: 0.0.0.0
Código base: file:///F:/Lenguajes/XIDE/Plugins/wxFindReferences.dll
----------------------------------------
wxGuidGenerator
Versión del ensamblado: 0.0.0.0
Versión Win32: 0.0.0.0
Código base: file:///F:/Lenguajes/XIDE/Plugins/wxGuidGenerator.dll
----------------------------------------
XIDE.Debugger.Core
Versión del ensamblado: 5.0.0.0
Versión Win32: 5.0.0.0
Código base: file:///F:/Lenguajes/XIDE/XIDE.Debugger.Core.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.Runtime.Serialization
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.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
SMDiagnostics
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/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.ServiceModel.Internals
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.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
Microsoft.CSharp
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/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Dynamic
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.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Versión del ensamblado: 0.0.0.0
Versión Win32: 4.8.9290.0 built by: NET481REL1LAST_C
Código base: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.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
----------------------------------------
************** 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:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
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.
Re: StringComparison.OrdinalIgnoreCase
Chris,
I got the same error but this time when typing DBManager.ExecuteQuery
I got the same error but this time when typing DBManager.ExecuteQuery
Re: StringComparison.OrdinalIgnoreCase
Chris, it happened again, this time with Row:Var...
It doesn't happen always, but it definitely happens
It doesn't happen always, but it definitely happens
Re: StringComparison.OrdinalIgnoreCase
Hi Irwin,
Thanks, although I will need to send you a debug version so we can also see the line numbers. In the meantime, when it happens, can you then reproduce it again on the same exact line? Maybe you could send me an app where that happens so I can reproduce (and fix) it here?
Thanks, although I will need to send you a debug version so we can also see the line numbers. In the meantime, when it happens, can you then reproduce it again on the same exact line? Maybe you could send me an app where that happens so I can reproduce (and fix) it here?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: StringComparison.OrdinalIgnoreCase
Hi Chris,Chris wrote: Sun Jan 19, 2025 10:50 pm Hi Irwin,
Thanks, although I will need to send you a debug version so we can also see the line numbers. In the meantime, when it happens, can you then reproduce it again on the same exact line? Maybe you could send me an app where that happens so I can reproduce (and fix) it here?
I've deactivated my wxEditorPlugin.dll, specifically the code that changes the behavior of the Editor and it seems to be working now. I'll let you know if I find something else.
thanks.