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

  1. Instantiating the Process Debug Manager, which implements the IDebugProgramPublisher2 interface.

  2. Publishing the Program Node by calling IDebugProgramPublisher2::PublishProgramNode.

  3. Implementing IDebugProgramNode2::GetEngineInfo.

  4. Implementing IDebugProgramNode2::GetHostPid.

See Also

Tasks

Tutorial: Building a Debug Engine Using ATL COM