Laden...

JIT Debugging Problem

Erstellt von f.ritz vor 19 Jahren Letzter Beitrag vor 19 Jahren 1.057 Views
f.ritz Themenstarter:in
341 Beiträge seit 2004
vor 19 Jahren
JIT Debugging Problem

Hallo!

Ich habe ein Problem mit meinem Programm, es greift übers .NET Remoting auf ein anderes Programm. Aber ab und zu kommen solche Fehlermeldungen, die ich mir nur schwer erklären kann und was bringt eigentlich der Eintrag <system.windows.forms jitDebugging="true" /> in machine.config?

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.
 
\************** Exception Text **************
System.Xml.XmlException: '', hexadecimal value 0x17, is an invalid character. Line 39, position 1.
 
Server stack trace: 
   at System.Xml.XmlScanner.ScanContent()
   at System.Xml.XmlTextReader.ParseBeginTagExpandCharEntities()
   at System.Xml.XmlTextReader.Read()
   at System.Runtime.Serialization.Formatters.Soap.SoapParser.ParseXml()
   at System.Runtime.Serialization.Formatters.Soap.SoapParser.Run()
   at System.Runtime.Serialization.Formatters.Soap.ObjectReader.Deserialize(HeaderHandler handler, ISerParser serParser)
   at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize(Stream serializationStream, HeaderHandler handler)
   at System.Runtime.Remoting.Channels.CoreChannel.DeserializeSoapResponseMessage(Stream inputStream, IMessage requestMsg, Header[] h, Boolean bStrictBinding)
   at System.Runtime.Remoting.Channels.SoapClientFormatterSink.DeserializeMessage(IMethodCallMessage mcm, ITransportHeaders headers, Stream stream)
   at System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage msg)
 
Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at RemoteObject.getListeClients()
   at enwisServiceWatcher.CurrentConnection..ctor() in c:\dokumente und einstellungen\......\currentconnection.cs:line 51
   at enwisServiceWatcher.Form1.menuItem5_Click(Object sender, EventArgs e) in c:\dokumente und einstellungen\.....\form1.cs:line 419
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.MenuItemData.Execute()
   at System.Windows.Forms.Command.Invoke()
   at System.Windows.Forms.Control.WmCommand(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 

\************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
enwisServiceWatcher
    Assembly Version: 1.0.1872.31580
    Win32 Version: 1.0.1872.31580
    CodeBase: file:///C:/Programme/tegos/enwis)tel%20Observer/enwisServiceWatcher.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/winnt/assembly/gac/system.runtime.remoting/1.0.5000.0__b77a5c561934e089/system.runtime.remoting.dll
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
server_meta
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.1
    CodeBase: file:///C:/Programme/tegos/enwis)tel%20Observer/server_meta.DLL
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/winnt/assembly/gac/system.runtime.serialization.formatters.soap/1.0.5000.0__b03f5f7f11d50a3a/system.runtime.serialization.formatters.soap.dll
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
 
\************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
 
For example:
 
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>
 
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

4.506 Beiträge seit 2004
vor 19 Jahren

Hallo f.ritz!

Also ohne groß nachzudenken, Du hast glaub ich Die Antwort schon indirekt gegeben, schau mal in Deinem geposteten Code:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

Ich denke das ist auch schon Deine Antwort, oder?

Ciao
Norman-Timo

A: “Wie ist denn das Wetter bei euch?”
B: “Caps Lock.”
A: “Hä?”
B: “Na ja, Shift ohne Ende!”

f.ritz Themenstarter:in
341 Beiträge seit 2004
vor 19 Jahren

Danke!

Hört sich vernünftig an, ich werde es testen!!

4.506 Beiträge seit 2004
vor 19 Jahren

Das fällt mir erst jetzt auf:

Herkunft: Sibirien

Buhää Schüttel, das wär mir zu kalt, kein Wunder bist Du nach Deutschland gekommen (da ist Wärmer). 😉 😁

Ciao
Norman-Timo

A: “Wie ist denn das Wetter bei euch?”
B: “Caps Lock.”
A: “Hä?”
B: “Na ja, Shift ohne Ende!”