IDebugProgramEx2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This interface lets the session debug manager (SDM) attach to a program and get the program node associated with a program.

Syntax

IDebugProgramEx2 : IUnknown

Notes for Implementers

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.

Notes for Callers

The SDM calls QueryInterface on an IDebugProgram2 interface to obtain this interface to track sessions that have attached to programs.

Methods in Vtable Order

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.

Remarks

This interface is private between the SDM and the program.

Requirements

Header: Portpriv.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also