Registering the Program with the PDM
The process debug manager (PDM) keeps track of all programs and program nodes registered with it by all debug engines. An interface to the PDM is obtained by cocreating an instance of the IDebugProgramPublisher2 class. Then the program nodes and programs are registered—or published—with this interface.
To register the debug engine with the PDM
Instantiating the Process Debug Manager, which implements the IDebugProgramPublisher2 interface.
Publishing the Program Node by calling IDebugProgramPublisher2::PublishProgramNode.