Compartilhar via


ExceptionGroups Interface

Represents the top-level groups available in the first-chance exception dialog in the debugger.

Namespace:  EnvDTE90
Assembly:  EnvDTE90 (in EnvDTE90.dll)

Syntax

'Declaration
<GuidAttribute("21BDC491-F828-4846-9FD8-75C9148AEA24")> _
Public Interface ExceptionGroups _
    Inherits IEnumerable
[GuidAttribute("21BDC491-F828-4846-9FD8-75C9148AEA24")]
public interface ExceptionGroups : IEnumerable
[GuidAttribute(L"21BDC491-F828-4846-9FD8-75C9148AEA24")]
public interface class ExceptionGroups : IEnumerable
[<GuidAttribute("21BDC491-F828-4846-9FD8-75C9148AEA24")>]
type ExceptionGroups =  
    interface 
        interface IEnumerable 
    end
public interface ExceptionGroups extends IEnumerable

The ExceptionGroups type exposes the following members.

Properties

  Name Description
Public property Count Gets a value indicating the number of exception groups in the collection.
Public property DTE Gets the top-level extensibility object.
Public property Parent Gets the immediate parent object of this collection, in this case the Debugger3 object.

Top

Methods

  Name Description
Public method GetEnumerator Gets an enumeration for items in a collection.
Public method Item Gets an indexed member of this collection.
Public method ResetAll Resets the BreakWhenThrown and BreakWhenUserUnhandled properties to their original values for both user-defined and built-in types. User-defined exceptions are not removed.

Top

Remarks

By default, the exception types are organized into the following groups:

  • Visual C++ Exceptions — Exceptions thrown from native code.

  • Common Language Runtime (CLR) Exceptions — Exceptions thrown in managed code.

  • Managed Debugging Assistants — Errors reported to the debugger that indicate problems in the program being debugged, but are not actual exceptions.

  • Native Run-time checks — Errors reported by the CRT for common programming errors.

  • Win32 Exceptions — Operating system error codes such as Control + C and Access Violation.

Third party debugging engines can also add items to this list. This is a normal enumerable collection, indexable by either group name and by integer index.

See Also

Reference

EnvDTE90 Namespace

Other Resources

Debug Threads and Processes in Visual Studio

Automation Object Model Chart

How to: Use the Threads Window