Edit

Share via


ATTACH_REASON

Specifies the reason for the debug engine (DE) to attach to a program node.

Syntax

public enum enum_ATTACH_REASON {
    ATTACH_REASON_LAUNCH = 0x0001,
    ATTACH_REASON_USER   = 0x0002,
    ATTACH_REASON_AUTO   = 0x0003
};

Fields

ATTACH_REASON_AUTO
Attach because the process is currently in debug mode.

ATTACH_REASON_LAUNCH
Attach because the process has been launched.

ATTACH_REASON_USER
Attach because of a user request.

Remarks

These values are used as a parameter to the Attach and Attach methods.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also