Freigeben über


ATTACH_REASON

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

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

Members

  • 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 IDebugEngine2::Attach and IDebugProgramEx2::Attach methods.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Enumerations (Visual Studio Debugging)

IDebugEngine2::Attach

IDebugProgramEx2::Attach