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: