IDebugProgramNode2
This interface represents a program that can be debugged.
IDebugProgramNode2 : IUnknown
A debug engine (DE) or a custom port supplier implements this interface to represent a program that can be debugged. This interface is typically implemented on the same object that implements the IDebugProgram2 interface. This interface is registered with Visual Studio by calling IDebugProgramPublisher2::PublishProgramNode.
Call IDebugProgramProvider2::GetProviderProgramNode to return this interface. A custom port supplier receives this interface through a call to IDebugPortNotify2::AddProgramNode. A DE receives this interface through a call to IDebugEngine2::Attach.
The following table shows the methods of IDebugProgramNode2.
|
Method |
Description |
|---|---|
|
Gets the name of a program. |
|
|
Gets the name of the process hosting a program. |
|
|
Gets the system process identifier for the process hosting a program. |
|
|
DEPRECATED. DO NOT USE. |
|
|
DEPRECATED. DO NOT USE. See the IDebugProgramNodeAttach2 interface for an alternative approach. |
|
|
Gets the name and identifier of the DE running this program. |
|
|
DEPRECATED. DO NOT USE. |
The session debug manager (SDM) typically calls IDebugProgramProvider2::GetProviderProgramNode to obtain this interface.