简体   繁体   English

Visual Studio 2015黑屏异常

[英]Visual Studio 2015 Black Screen on Exception

I have visual studio 2015. Almost every exception thrown by external APIs cause the following black screen with the title "Source Not Available" with the TargetInvocationException without any further information. 我有Visual Studio2015。几乎所有外部API引发的异常都会导致以下黑屏,标题为“ Source Not Available”,且带有TargetInvocationException,而没有任何其他信息。

在此处输入图片说明

Does anybody know how can I get some details about the original exception? 有人知道我如何获得有关原始异常的详细信息吗?

The exception dialog should have a View details link (I'm not sure why it doesn't on your screenshot): TargetInvocationException usually has the InnerException property set to the actual thrown exception. 异常对话框应该具有“ View details链接(我不确定为什么它不在您的屏幕快照上): TargetInvocationException通常将InnerException属性设置为实际抛出的异常。

If it doesn't show on the first "black screen" as you call it, try debugging (F5) again, you should see the full exception dialog 如果在您调用它时没有在第一个“黑屏”上显示它,请再次尝试调试(F5),您应该看到完整的异常对话框

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2015默认屏幕设置 - visual studio 2015 default screen setting Xamarin.forms iOS 启动后黑屏(Xamarin Visual Studio 2022) - Xamarin.forms iOS Black Screen after launching (Xamarin Visual Studio 2022) 仅在Visual Studio 2015的调试模式下引发WebDriverWait异常 - WebDriverWait Exception only thrown in Debug Mode in Visual Studio 2015 Visual Studio Community 2015中任何版本的意外异常 - Unexpected exception on any build in Visual Studio Community 2015 Visual Studio 2015调试错误“无法执行,一般异常” - visual studio 2015 debug error “unable to step, general exception” Visual Studio 2015调试器因DebuggerHidden函数的已处理异常而停止 - Visual Studio 2015 debugger stops for a handled exception of a DebuggerHidden function Visual Studio 2015在Try Catch块中引发异常 - Visual Studio 2015 throw exception in Try Catch block 安装Visual Studio 2015社区后的事件日志安全异常 - Event Log Security Exception After Installing Visual Studio 2015 Community Visual Studio 2015测试运行器中的“句柄无效”异常 - “The handle is invalid” exception in Visual Studio 2015 test runner Visual Studio 2015 XAML设计器因System.Exception而失败 - Visual Studio 2015 XAML designer fails with System.Exception
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM