Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Previously, when my program crashed during debugging VS would bring me to a line of code where crash happened. Now... its always looks like this:

enter image description here

And i have no clue where and why it crashed :(

I realise that i incidentally changed VS configurations, but i dont know how to get it back. Pls, give me an advice.

share|improve this question
up vote 2 down vote accepted

If you go to Debug -> Exceptions... you can add the ability to break on the Command Language Runtime Exceptions when the exception is Thrown.

That should then place you right at the point the exception begins to surface within your code.

share|improve this answer
    
yes, thats what i was looking for – Alena May 17 '11 at 20:40

You can click on View Detail to drill into the real exception. Depending on where the exception occurs it may be wrapped by another exception like the one you are seeing.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .