IDebugProgramNode2
This interface represents a program that can be debugged.
IDebugProgramNode2 : IUnknown
Notes for Implementers
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.
Notes for Callers
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.
Methods in Vtable Order
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. |
Remarks
The session debug manager (SDM) typically calls IDebugProgramProvider2::GetProviderProgramNode to obtain this interface.
Requirements
Header: Msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll
See Also
Reference
IDebugPortNotify2::AddProgramNode
IDebugPortNotify2::RemoveProgramNode
IDebugProgramProvider2::GetProviderProgramNode
IDebugProgramPublisher2::PublishProgramNode