description | title | ms.date | ms.topic | f1_keywords | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||
---|---|---|---|---|---|---|---|---|---|---|---|
This interface lets the session debug manager (SDM) attach to a program and get the program node associated with a program. |
IDebugProgramEx2 |
11/04/2016 |
reference |
|
|
maiak |
maiak |
mijacobs |
debug-diagnostics |
This interface lets the session debug manager (SDM) attach to a program and get the program node associated with a program.
IDebugProgramEx2 : IUnknown
A custom port supplier implements this interface on the same object as the IDebugProgram2 interface in order to let the SDM attach to a program while at the same time allowing the port supplier to track all sessions attached to the program. The custom port supplier can implement this interface if it chooses.
The SDM calls QueryInterface on an IDebugProgram2
interface to obtain this interface to track sessions that have attached to programs.
The following table shows the methods of IDebugProgramEx2
.
Method | Description |
---|---|
Attach | Attaches a program to a session. |
GetProgramNode | Gets the program node associated with a program. |
This interface is private between the SDM and the program.
Header: Portpriv.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll