Compartilhar via


IDebugEntryPointEvent2

The debug engine (DE) sends this interface to the session debug manager (SDM) when the program is about to execute its first instruction of user code.

IDebugEntryPointEvent2 : IUnknown

Notes for Implementers

The DE implements this interface as part of its normal operations. The IDebugEvent2 interface must be implemented on the same object as this interface. The SDM uses QueryInterface to access the IDebugEvent2 interface.

Notes for Callers

The DE creates and sends this event object when the program being debugged has been loaded and is ready to execute the first instruction of user code. The event is sent by using the IDebugEventCallback2 callback function that is supplied by the SDM when it attached to the program being debugged.

Remarks

IDebugLoadCompleteEvent2 is sent when the program is about to execute the very first instruction. For example, IDebugEntryPoint2 is sent when the program is about to execute the user's main function.

When the DE sends IDebugEntryPointEvent2, the current code position should be at the first instruction of user code, like main.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugEvent2

IDebugLoadCompleteEvent2