Link to home
Start Free TrialLog in
Avatar of FCapo
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.InvalidCastException' 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
Avatar of Dustin Saunders
Dustin Saunders
Flag of United States of America image

Try going to Tools>Options>Debugging>Symbols and check the box for MS Servers, then Load them.
Avatar of FCapo
FCapo

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.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members 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.