共用方式為


CANSTOP_REASON

Used to determine if a program can stop execution after reaching a particular point in the execution.

enum enum_CANSTOP_REASON { 
   CANSTOP_ENTRYPOINT = 0x0000,
   CANSTOP_STEPIN     = 0x0001
};
typedef DWORD CANSTOP_REASON;
public enum enum_CANSTOP_REASON { 
   CANSTOP_ENTRYPOINT = 0x0000,
   CANSTOP_STEPIN     = 0x0001
};

Members

  • CANSTOP_ENTRYPOINT
    Specifies the entry point of the given program.

  • CANSTOP_STEPIN
    Specifies stepping into a function.

Remarks

Passed as an argument to the IDebugCanStopEvent2::GetReason method to confirm with the Session Debug Manager (SDM) if it is okay to stop after reaching the entry point of the program or after stepping into a function or method.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Enumerations (Visual Studio Debugging)

IDebugCanStopEvent2::GetReason