If I tell Visual Studio to break on all Common Language Runtime Exceptions
(so that it will break on the point any Exception
is thrown), or if an unhandled Exception
is thrown, I see no details about the thrown Exception
, such as the stacktrace, inner exceptions, etc:
If I then place the offending code in a try-catch block, I can then view the Exception
details in the caught Exception
object (ie Exception ex
), so I know the Exception
information must be accessible...so why does it not show in Visual Studio's Exception Helper?.
I've gone through the settings for the project and ensured that Debugging information is set to Full, and that the "Enable developer instrumentation (debugging and profiling)" checkbox is checked.
I'm running Visual Studio 2017 v15.7.1.
Note: I'm aware that similar questions have been asked in the past, however the first question's answer is merely a workaround for handling them in code (I already have a global exception handler), and in the second question I'm already running a newer version of Visual Studio than the version the issue was purportedly fixed in. I also found a thread on the Xamarin forums that appears to be discussing the issue to no avail.
How can I resolve this issue to view Exception details in the Exception helper in Visual Studio?