[英]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.