Share via


IEnumDebugPrograms2

This interface enumerates the programs running in the current debug session.

IEnumDebugPrograms2 : IUnknown

Notes for Implementers

The debug engine (DE) implements this interface to provide a list of programs being debugged by the DE.

Notes for Callers

Visual Studio calls IDebugProcess2::EnumPrograms to obtain this interface. IDebugEngine2::EnumPrograms is not used by Visual Studio.

Methods in Vtable Order

The following table shows the methods of IEnumDebugPrograms2.

Method

Description

IEnumDebugPrograms2::Next

Retrieves a specified number of programs in an enumeration sequence.

IEnumDebugPrograms2::Skip

Skips a specified number of programs in an enumeration sequence.

IEnumDebugPrograms2::Reset

Resets an enumeration sequence to the beginning.

IEnumDebugPrograms2::Clone

Creates an enumerator that contains the same enumeration state as the current enumerator.

IEnumDebugPrograms2::GetCount

Gets the number of programs in an enumerator.

Remarks

Visual Studio uses this interface to:

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugEngine2::EnumPrograms

IDebugProcess2::EnumPrograms

Concepts

Core Interfaces