共用方式為


Sending Events

The mechanism for communication between the debugger and the debug engine (DE) is an event model based on DCOM. Events are sent as COM objects, and each event has parameters that specify the following:

  • The DE that called the event.

  • A description of what happened.

  • The process, program, and thread information that identifies the context of where the event occurred. The process is not sent for events sent from a DE.

  • The event type that indicates whether the event is synchronous or asynchronous.

All debug events are sent using the method IDebugEventCallback2::Event.

In This Section

  • Event Sources
    Explains the two sources of events: the debug engine (DE) and the session debug manager (SDM).

  • Supported Event Types
    Discusses the currently supported event types: asynchronous and synchronous.

  • Event Descriptions
    Defines events and the reasons for their use.