Share via


DkmExceptionProcessingStage Enum

Definition

The debugger receives notifications from the target process at various stages within exception processing (ex: exception thrown, exception unhandled). This enumeration indicates the stage(s) for a notification.

This enumeration supports a bitwise combination of its member values.

public enum class DkmExceptionProcessingStage
public enum class DkmExceptionProcessingStage
enum DkmExceptionProcessingStage
[System.Flags]
public enum DkmExceptionProcessingStage
[<System.Flags>]
type DkmExceptionProcessingStage = 
Public Enum DkmExceptionProcessingStage
Inheritance
DkmExceptionProcessingStage
Attributes

Fields

AppDomainTransition 4

The target process is about to swallow the exception at an app domain transition.

Caught 128

A thrown exception has been caught. An exception at this stage is not a stopping event itself, but is being raised prior to another stopping event within a catch handler, such as step complete.

ManagedUnmanagedTransition 8

The target process is about to pass the exception from managed code into unmanaged code.

Thrown 1

An exception was thrown. This notification occurs for all types of exceptions.

Unhandled 32

No handler was found for this exception.

UserCodeSearch 2

The target process has begun searching for an exception handler and this search has entered user code. This notification is provided only for exception categories which support Just My Code. Currently, only the CLR & Script exception categories support Just My Code.

In CLR devices scenarios or when Just My Code stepping is disabled in the UI, the back end will not have support for Just My Code. In this case, when an exception is thrown, both the 'Thrown' and 'UserCodeSearch' flags will be set.

UserUnhandled 16

An exception handler has been found outside of user code. This notification is provided only for exception categories which support Just My Code. Currently, only the CLR exception category supports Just My Code.\n.

UserVisible 64

Exception should be visible to users. When set, the exception will be sent to the output window if the user doesn't wish to stop at the exception.

Applies to