Share via


IDebugProgramEx2

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

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

IDebugProgramEx2::Attach

Attaches a program to a session.

IDebugProgramEx2::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

Reference

IDebugProgram2

Concepts

Core Interfaces