Sending Events

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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.

Creating a Custom Debug Engine
Describes how a DE works with the interpreter or operating system to provide debugging services.