Compartilhar via


IDebugProgramEngines2

Note

This article applies to Visual Studio 2015. 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 is used by program nodes to specify all the possible debug engines (DE) that can debug this program.

Syntax

IDebugProgramEngines2 : IUnknown  

Notes for Implementers

A DE or a custom port supplier implements this interface on the same object that implements IDebugProgramNode2 to support establishing a specific DE to use for a particular program.

Notes for Callers

Call QueryInterface on an IDebugProgramNode2 interface to obtain this interface.

Methods in Vtable Order

The following table shows the methods of IDebugProgramEngines2.

Method Description
EnumPossibleEngines Indicates all the possible DEs that can debug this program.
SetEngine Selects the DE to use for debugging this program.

Remarks

Once a DE is chosen by the user, that choice is registered with the program node by calling SetEngine. The selected engine becomes the engine returned by GetEngineInfo.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Core Interfaces
IDebugProgramNode2
GetEngineInfo