有关调用实时(JIT)调试而不是此对话框的详细信息,2
请参见此消息的结尾。3

4
************** 异常文本 **************5
System.AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。6
在 System.Drawing.SafeNativeMethods.Gdip.GdipDrawRectangleI(HandleRef graphics, HandleRef pen, Int32 x, Int32 y, Int32 width, Int32 height)7
在 System.Drawing.Graphics.DrawRectangle(Pen pen, Int32 x, Int32 y, Int32 width, Int32 height)8
在 System.Drawing.Graphics.DrawRectangle(Pen pen, Rectangle rect)9
在 System.Windows.Forms.ComboBox.FlatComboAdapter.DrawFlatCombo(ComboBox comboBox, Graphics g)10
在 System.Windows.Forms.ComboBox.WndProc(Message& m)11
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)12
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)13
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)14

15

16
************** 已加载的程序集 **************17
mscorlib18
程序集版本: 2.0.0.019
Win32 版本: 2.0.50727.832 (QFE.050727-8300)20
基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll21
----------------------------------------22
System.Windows.Forms23
程序集版本: 2.0.0.024
Win32 版本: 2.0.50727.832 (QFE.050727-8300)25
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll26
----------------------------------------27
System28
程序集版本: 2.0.0.029
Win32 版本: 2.0.50727.832 (QFE.050727-8300)30
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll31
----------------------------------------32
System.Drawing33
程序集版本: 2.0.0.034
Win32 版本: 2.0.50727.832 (QFE.050727-8300)35
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll36
----------------------------------------37
System.Configuration38
程序集版本: 2.0.0.039
Win32 版本: 2.0.50727.832 (QFE.050727-8300)40
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll41
----------------------------------------42
System.Xml43
程序集版本: 2.0.0.044
Win32 版本: 2.0.50727.832 (QFE.050727-8300)45
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll46
----------------------------------------47
mscorlib.resources48
程序集版本: 2.0.0.049
Win32 版本: 2.0.50727.832 (QFE.050727-8300)50
基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll51
----------------------------------------52
System.Windows.Forms.resources53
程序集版本: 2.0.0.054
Win32 版本: 2.0.50727.42 (RTM.050727-4200)55
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll56
----------------------------------------57

58
************** JIT 调试 **************59
要启用实时(JIT)调试,60
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置61
jitDebugging 值。62
编译应用程序时还必须启用63
调试。64

65
例如: 66

67
<configuration>68
<system.windows.forms jitDebugging="true" />69
</configuration>70

71
启用 JIT 调试后,任何无法处理的异常72
都将被发送到在此计算机上注册的 JIT 调试器,73
而不是由此对话框处理。
基本代码: file: