Muokkaa

Jaa


Send 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 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.

Creating a custom debug engine describes how a DE works with the interpreter or operating system to provide debugging services.