Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.