You are developing an ASP.NET MVC application by using Visual Studio. The application throws and handles exceptions when it runs. You need to examine the state of the application when exceptions are thrown. What should you do?
A.
From the Debug menu in Visual Studio, select Exceptions. Enable the Thrown check box for Common Language Runtime Exceptions.
B.
From the DEBUG menu in Visual Studio, select Attach to Process. Select the IIS process.
C.
From the Debug menu in Visual Studio, select Exceptions. Disable the User-unhandled check box for Common Language Runtime Exceptions.
D.
From the TOOLS menu in Visual Studio, click Customize. Click the Command tab and select Debug.
Suggested Answer:A🗳️
Configuring the debugger to break for first chance exceptions To change when the debugger breaks, go to Debug->Exceptions"¦ When you first open this window you will see that there is a tree grid with one column and checkboxes. ✑ Break when Thrown. This includes a default list of exceptions known by the debugger, grouped by category. Note: The possible exceptions that could break from this list is determined by the runtime you are debugging. For example, if you are using managed-only debugging then the debugger will never break for C++, Win32 Exceptions, etc. even if they are configured to break when thrown. ✑ Checkboxes. If you check the box for a category, then the debugger will break for all First Chance Exceptions while debugging. If you don't want to enable all First Chance Exceptions, you can find the specific exception types that you wish to configure by using the search box. Reference: Understanding Exceptions while debugging with Visual Studio http://blogs.msdn.com/b/visualstudioalm/archive/2015/01/08/understanding-exceptions-while-debugging-with-visual-studio.aspx
This section is not available anymore. Please use the main Exam Page.70-486 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
lomanov
4 years, 9 months ago