Share via


Attaching the Program to the SDM

Once a program is registered with the process debug manager (PDM), it must also be connected to the session debug manager (SDM). The SDM acts as the mediator between Visual Studio and the debug engines. The debug engine sends events to the SDM by means of a callback function provided by the SDM.

Attachment Process

Attaching the program to the SDM consists of the following steps:

  1. Implementing Attach.

  2. Creating the Event Classes.

  3. Sending the Startup Events.

See Also

Tasks

Tutorial: Building a Debug Engine Using ATL COM