Visual Studio 2015 Black Screen on Exception

283 views Asked by At

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.

enter image description here

Does anybody know how can I get some details about the original exception?

1

There are 1 answers

0
Jcl On

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.

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