簡體   English   中英

Visual Studio調試可視化工具不適用於數據表(應用程序中的組件發生未處理的異常)

[英]Visual Studio Debug Visualizer not working for Datatable (Unhandled exception has occurred in a component in your application)

應用程序中的組件發生未處理的異常。

當我單擊調試模型中的放大鏡按鈕時,調試可視化器不僅僅對數據表有效,而對其他類型(如字符串)有效。

Debug Visualizer適用於String

調試可視化工具不適用於數據表

debuggervisualizer.dll

我搜索了舊帖子,找不到有用的答案。 這是異常的詳細信息:

有關調用即時(JIT)調試而不是此對話框的詳細信息,請參見此消息的末尾。

**************異常文本************** System.Exception:函數評估超時。 在Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.PrivateCallback.MaybeDeserializeAndThrowException(Byte []數據)在Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.ManagedShim.DelegatedHost.CreateViewer(IntPtr hwnd,HostServicesHelper hsh,SafeProxyWrapper代理)

**************加載的程序集************** mscorlib程序集版本:4.0.0.0 Win32版本:4.0.30319.18444生成者:FX451RTMGDR代碼庫:文件:/// C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------- ------------ Microsoft.VisualStudio.Platform.AppDomainManager程序集版本:10.0.0.0 Win32版本:10.0.30319.1代碼庫:file:/// C:/Windows/Microsoft.Net/assembly/GAC_MSIL /Microsoft.VisualStudio.Platform.AppDomainManager/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Platform.AppDomainManager.dll ------------------------ ----------------系統組裝版本:4.0.0.0 Win32版本:4.0.30319.34238建於:FX452RTMGDR代碼庫:file:/// C:/Windows/Microsoft.Net/assembly /GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------- ------ System.Configuration程序集版本:4.0.0.0 Win32版本:4.0.30319.18408創建者:FX451RTMGREL代碼庫:file:/// C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System。 配置/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ----------------------------------- ----- System.Xml程序集版本:4.0.0.0 Win32版本:4.0.30319.34234生成者:FX452RTMGDR代碼庫:file:/// C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4。 0_4.0.0.0__b77a5c561934e089 / System.Xml.dll --------------------------------------- -System.Windows.Forms程序集版本:4.0.0.0 Win32版本:4.0.30319.34251創建人:FX452RTMGDR代碼庫:file:/// C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4。 0_4.0.0.0__b77a5c561934e089 / System.Windows.Forms.dll ------------------------------------- --- System.Drawing程序集版本:4.0.0.0 Win32版本:4.0.30319.34270創建於:FX452RTMGDR代碼庫:file:/// C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4。 0.0.0__b03f5f7f11d50a3a / System.Drawing.dll ---------------------------------------- Microsoft .VisualStudio.DebuggerVisualizers程序集版本:10.0.0.0 Win32版本:10.0.30319.1

代碼庫:file:/// C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.DebuggerVisualizers/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.DebuggerVisualizers.dll

************** JIT調試**************要啟用即時(JIT)調試,請為此應用程序創建.config文件,或者計算機(machine.config)必須在system.windows.forms部分中設置了jitDebugging值。 還必須在啟用調試的情況下編譯應用程序。

例如:

啟用JIT調試后,任何未處理的異常都會發送到計算機上注冊的JIT調試器,而不是由此對話框處理。

嘗試執行devenv.exe並以管理員身份運行,這可以輕松解決您的問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM