Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

How to: Correct Run-Time Errors with the Exception Assistant

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic appliesTopic appliesTopic does not applyTopic applies

Standard

Topic appliesTopic appliesTopic does not applyTopic applies

Pro and Team

Topic appliesTopic appliesTopic does not applyTopic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

The Exception Assistant, which appears whenever a run-time exception occurs in the debugger, shows the type of exception, troubleshooting tips, and corrective actions that may be applied through the Exception Assistant.

An exception is an object that inherits from the Exception class. An exception is thrown by code whenever a problem occurs; it is passed up the stack until the application handles it or the program fails.

NoteNote:

  The options available in dialog boxes, and the names and locations of menu commands you see, might differ from what is described in Help, depending on your active settings or edition. This Help page was written for users who have selected General Development Settings. To change your settings, select Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

The following table lists the actions that may appear in the Exception Assistant Actions pane:

Action

Description

Find out more about the exception

Displays the properties of the exception object, which can be copied to the Clipboard.

Add permission.

Adds necessary security permissions.

To enable or disable Exception Assistant

  1. On the Tools menu, click Options.

  2. In the Options dialog box, open the Debugging.node and click General.

  3. In the General box, select or clear Enable the exception assistant.

To apply an action from the Exception Assistant Actions pane

  • Click the action you want to perform.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft