FCapo
asked on
Visual Studio Exception Settings
Hi,
I'm just wondering why I can't get specific error messages anymore in Visual Studio when an exception occurs.
For example, I know where this error occured because I'm working in that section of the application, but it used to highlight the line and tell me exactly what caused the problem, now I get a generic error like this:
An unhandled exception of type 'System.InvalidCastExcepti on' occurred in Microsoft.VisualBasic.dll
Additional information: Conversion from string "" to type 'Double' is not valid.
It no longer specifies the line number or highlight the error,
I attached a print screen
Thank you for the help!
printScreen.png
I'm just wondering why I can't get specific error messages anymore in Visual Studio when an exception occurs.
For example, I know where this error occured because I'm working in that section of the application, but it used to highlight the line and tell me exactly what caused the problem, now I get a generic error like this:
An unhandled exception of type 'System.InvalidCastExcepti
Additional information: Conversion from string "" to type 'Double' is not valid.
It no longer specifies the line number or highlight the error,
I attached a print screen
Thank you for the help!
printScreen.png
Try going to Tools>Options>Debugging>Sy mbols and check the box for MS Servers, then Load them.
ASKER
Hi,
Thanks for the reply,
Now it's just saying that the source is unavailable (source information is missing from the debug information for this module) when an error is detected.
Thanks for the reply,
Now it's just saying that the source is unavailable (source information is missing from the debug information for this module) when an error is detected.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.