What is JIT debugging and how can I turned it off in AutoCAD?
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for "System.Windows.Forms.DataGrid" threw an exception. ---> System.ArithmeticException: Overflow or underflow in the arithmetic operation.
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Windows.Forms.ControlPaint.FontInPoints(Font font)
at System.Windows.Forms.Control.get_DefaultFont()
at System.Windows.Forms.DataGrid..cctor()
--- End of inner exception stack trace ---
at System.Windows.Forms.DataGrid..ctor()
at Autodesk.AutoCAD.LayerManager.BaseGrid..ctor()
at Autodesk.AutoCAD.LayerManager.LayerGrid..ctor()
at Autodesk.AutoCAD.LayerManager.MainForm.InitializeComponent()
at Autodesk.AutoCAD.LayerManager.MainForm..ctor()
at Autodesk.AutoCAD.LayerManager.MainForm.RunForm(IWin32Window owner, Database db)
at Autodesk.AutoCAD.LayerManager.Commands.Layer()
--- End of inner exception stack trace ---
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at AcMgPerDocumentCommandClass.Invoke(AcMgPerDocumentCommandClass* , gcroot<:REFLECTION::METHODINFO __gc="">* mi)
at AcMgCommandClass.CommandThunk.Invoke(CommandThunk* )
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
acdbmgdhost
Assembly Version: 16.1.63.0
Win32 Version: 16.1.63.0
CodeBase: file:///C:/Program%20Files/Autodesk%20Map%203D%202005/AcdbMgdHost.DLL
----------------------------------------
acdbmgd
Assembly Version: 16.1.63.0
Win32 Version: 16.1.63.0
CodeBase: file:///C:/Program%20Files/Autodesk%20Map%203D%202005/acdbmgd.dll
----------------------------------------
acmgd
Assembly Version: 16.1.63.0
Win32 Version: 16.1.63.0
CodeBase: file:///C:/Program%20Files/Autodesk%20Map%203D%202005/acmgd.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
AcLayer
Assembly Version: 16.1.63.0
Win32 Version: 16.1.63.0
CodeBase: file:///C:/Program%20Files/Autodesk%20Map%203D%202005/AcLayer.DLL
----------------------------------------
AcLayer.resources
Assembly Version: 16.1.63.0
Win32 Version: 16.1.63.0
CodeBase: file:///C:/Program%20Files/Autodesk%20Map%203D%202005/en-US/AcLayer.resources.DLL
----------------------------------------
mscorlib.resources
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/mscorlib.resources/1.0.5000.0_nl_b77a5c561934e089/mscorlib.resources.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:
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.